|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteFileComponentInterface
Interface defining what the main view component of the RemoteFileSelector component must support.
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to the support class. |
java.lang.Object[] |
getColumnRenderers()
Returns the array of cell renderers currently being used to format the columns. |
java.util.List |
getPreviousPath()
Returns the a list containing the file system paths previously viewed. |
RemoteFileServerModelInterface |
getRemoteModel()
Returns the model used to display the data. |
java.lang.Object |
getSelectionObject()
Returns the selection object associated with the view. |
java.util.List |
getSelections()
Return the selections made in the view. |
javax.swing.JComponent |
getViewComponent()
Returns the actual component displaying the data. |
boolean |
isShowDirectoriesOnly()
Returns the showDirectoriesOnly attribute. |
void |
refreshData(java.lang.String path)
Triggers a refresh of the view display. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener from the support class. |
void |
setActionProvider(SwingActionProvider actionProvider)
Sets the ActionProviderFramework class. |
void |
setColumnRenderers(java.lang.Object[] columnRenderers)
Sets the array of cell renderers used to format the columns. |
void |
setPath(java.lang.String path)
Sets the path to be viewed. |
void |
setPreviousPath(java.util.List previousPath)
Sets a list of previous paths. |
void |
setRemoteModel(RemoteFileServerModelInterface model)
Sets the model to be used to display the data. |
void |
setSelectionObject(java.lang.Object selectionObject)
Sets the selection object associated with the view. |
void |
setShowDirectoriesOnly(boolean showDirectoriesOnly)
Sets the showDirectoriesOnly attribute. |
Method Detail |
---|
java.util.List getSelections()
java.lang.Object getSelectionObject()
void setSelectionObject(java.lang.Object selectionObject)
void refreshData(java.lang.String path)
path
- the path currently being viewed.java.util.List getPreviousPath()
setPreviousPath(List)
void setPreviousPath(java.util.List previousPath)
previousPath
- list of Strings containing pathsgetPreviousPath()
javax.swing.JComponent getViewComponent()
void setPath(java.lang.String path)
path
- the path to be viewedvoid addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the PropertyChangeListenervoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- the PropertyChangeListenervoid setRemoteModel(RemoteFileServerModelInterface model)
model
- the modelgetRemoteModel()
RemoteFileServerModelInterface getRemoteModel()
setRemoteModel(RemoteFileServerModelInterface)
void setShowDirectoriesOnly(boolean showDirectoriesOnly)
showDirectoriesOnly
- set to true if only file structure to be shownisShowDirectoriesOnly()
boolean isShowDirectoriesOnly()
setShowDirectoriesOnly(boolean)
void setActionProvider(SwingActionProvider actionProvider)
actionProvider
- the action provider classvoid setColumnRenderers(java.lang.Object[] columnRenderers)
columnRenderers
- array of cell renderersgetColumnRenderers()
java.lang.Object[] getColumnRenderers()
setColumnRenderers(Object[])
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |