|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.remotefileselector.RemoteFileTreeComponent
public class RemoteFileTreeComponent
Field Summary | |
---|---|
protected javax.swing.JTree |
tree
|
Fields inherited from class com.sas.swing.visuals.remotefileselector.RemoteFileComponent |
---|
parentComponent, remoteServerModel, selections, showDirectoriesOnly, spcs |
Constructor Summary | |
---|---|
RemoteFileTreeComponent(BaseRemoteFileSelectorPanel parentComponent)
|
|
RemoteFileTreeComponent(javax.swing.tree.DefaultTreeModel model)
|
Method Summary | |
---|---|
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. |
java.lang.Object |
getSelectionObject()
Returns the selection object associated with the view. |
javax.swing.JComponent |
getViewComponent()
Returns the actual component displaying the data. |
void |
handleDoubleClick()
|
protected void |
init()
|
void |
refreshData(java.lang.String path)
Triggers a refresh of the view display. |
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 originalPath)
Sets the path to be viewed. |
void |
setPreviousPath(java.util.List previousPath)
Sets a list of previous paths. |
void |
setRemoteModel(RemoteFileServerModelInterface remoteServerModel)
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 |
treeNodesChanged(javax.swing.event.TreeModelEvent e)
|
void |
treeNodesInserted(javax.swing.event.TreeModelEvent e)
|
void |
treeNodesRemoved(javax.swing.event.TreeModelEvent e)
|
void |
treeStructureChanged(javax.swing.event.TreeModelEvent e)
|
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
|
Methods inherited from class com.sas.swing.visuals.remotefileselector.RemoteFileComponent |
---|
addPropertyChangeListener, getRemoteModel, getSelections, isShowDirectoriesOnly, removePropertyChangeListener, setShowDirectoriesOnly |
Field Detail |
---|
protected javax.swing.JTree tree
Constructor Detail |
---|
public RemoteFileTreeComponent(BaseRemoteFileSelectorPanel parentComponent)
public RemoteFileTreeComponent(javax.swing.tree.DefaultTreeModel model)
Method Detail |
---|
protected void init()
public void handleDoubleClick()
public void setSelectionObject(java.lang.Object selectionObject)
RemoteFileComponentInterface
setSelectionObject
in interface RemoteFileComponentInterface
public java.lang.Object getSelectionObject()
RemoteFileComponentInterface
getSelectionObject
in interface RemoteFileComponentInterface
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged
in interface javax.swing.event.TreeSelectionListener
public void setPath(java.lang.String originalPath)
RemoteFileComponentInterface
setPath
in interface RemoteFileComponentInterface
originalPath
- the path to be viewedpublic void setRemoteModel(RemoteFileServerModelInterface remoteServerModel)
RemoteFileComponentInterface
setRemoteModel
in interface RemoteFileComponentInterface
remoteServerModel
- the modelRemoteFileComponentInterface.getRemoteModel()
public void refreshData(java.lang.String path)
RemoteFileComponentInterface
refreshData
in interface RemoteFileComponentInterface
path
- the path currently being viewed.public java.util.List getPreviousPath()
RemoteFileComponentInterface
getPreviousPath
in interface RemoteFileComponentInterface
RemoteFileComponentInterface.setPreviousPath(List)
public void setPreviousPath(java.util.List previousPath)
RemoteFileComponentInterface
setPreviousPath
in interface RemoteFileComponentInterface
previousPath
- list of Strings containing pathsRemoteFileComponentInterface.getPreviousPath()
public void treeNodesChanged(javax.swing.event.TreeModelEvent e)
treeNodesChanged
in interface javax.swing.event.TreeModelListener
public void treeNodesInserted(javax.swing.event.TreeModelEvent e)
treeNodesInserted
in interface javax.swing.event.TreeModelListener
public void treeNodesRemoved(javax.swing.event.TreeModelEvent e)
treeNodesRemoved
in interface javax.swing.event.TreeModelListener
public void treeStructureChanged(javax.swing.event.TreeModelEvent e)
treeStructureChanged
in interface javax.swing.event.TreeModelListener
public javax.swing.JComponent getViewComponent()
RemoteFileComponentInterface
getViewComponent
in interface RemoteFileComponentInterface
public void setActionProvider(SwingActionProvider actionProvider)
RemoteFileComponentInterface
setActionProvider
in interface RemoteFileComponentInterface
actionProvider
- the action provider classpublic void setColumnRenderers(java.lang.Object[] columnRenderers)
RemoteFileComponentInterface
setColumnRenderers
in interface RemoteFileComponentInterface
columnRenderers
- array of cell renderersRemoteFileComponentInterface.getColumnRenderers()
public java.lang.Object[] getColumnRenderers()
RemoteFileComponentInterface
getColumnRenderers
in interface RemoteFileComponentInterface
RemoteFileComponentInterface.setColumnRenderers(Object[])
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |