|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.remotefileselector.RemoteFileComponent
public abstract class RemoteFileComponent
The base component class for all view components like a list, details, etc. Provides some common functionality.
Field Summary | |
---|---|
protected BaseRemoteFileSelectorPanel |
parentComponent
The component that is the parent of this view component. |
protected RemoteFileServerModelInterface |
remoteServerModel
The main server model for the view components. |
protected java.util.List |
selections
The selections made in the view. |
protected boolean |
showDirectoriesOnly
Stores whether to show directories only, true. |
protected javax.swing.event.SwingPropertyChangeSupport |
spcs
Class used to communicate property changes. |
Constructor Summary | |
---|---|
RemoteFileComponent()
Constructor. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to the support class. |
RemoteFileServerModelInterface |
getRemoteModel()
Returns the main model used to populate the view component. |
java.util.List |
getSelections()
Returns a list of selections made on the view component. |
boolean |
isShowDirectoriesOnly()
Returns the showDirectoriesOnly attribute. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener from the support class. |
void |
setShowDirectoriesOnly(boolean showDirectoriesOnly)
Sets the showDirectoriesOnly attribute. |
Methods inherited from interface com.sas.swing.visuals.remotefileselector.RemoteFileComponentInterface |
---|
getColumnRenderers, getPreviousPath, getSelectionObject, getViewComponent, refreshData, setActionProvider, setColumnRenderers, setPath, setPreviousPath, setRemoteModel, setSelectionObject |
Field Detail |
---|
protected java.util.List selections
protected javax.swing.event.SwingPropertyChangeSupport spcs
protected RemoteFileServerModelInterface remoteServerModel
protected boolean showDirectoriesOnly
protected BaseRemoteFileSelectorPanel parentComponent
Constructor Detail |
---|
public RemoteFileComponent()
Method Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface RemoteFileComponentInterface
addPropertyChangeListener
in class java.awt.Container
listener
- the PropertyChangeListenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface RemoteFileComponentInterface
removePropertyChangeListener
in class java.awt.Component
listener
- the PropertyChangeListenerpublic java.util.List getSelections()
getSelections
in interface RemoteFileComponentInterface
public void setShowDirectoriesOnly(boolean showDirectoriesOnly)
setShowDirectoriesOnly
in interface RemoteFileComponentInterface
showDirectoriesOnly
- set to true if only file structure to be shownisShowDirectoriesOnly()
public boolean isShowDirectoriesOnly()
isShowDirectoriesOnly
in interface RemoteFileComponentInterface
setShowDirectoriesOnly(boolean)
public RemoteFileServerModelInterface getRemoteModel()
getRemoteModel
in interface RemoteFileComponentInterface
RemoteFileComponentInterface.setRemoteModel(RemoteFileServerModelInterface)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |