|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.remotefileselector.RemoteFileTableComponent
public class RemoteFileTableComponent
RemoteFileTableComponent class defines the main table view for displaying the file system items and the search window items.
| Field Summary | |
|---|---|
protected java.lang.Object[] |
columnRenderers
the renderers used to format the column values |
protected TableView |
table
the main table component |
| Fields inherited from class com.sas.swing.visuals.remotefileselector.RemoteFileComponent |
|---|
parentComponent, remoteServerModel, selections, showDirectoriesOnly, spcs |
| Constructor Summary | |
|---|---|
RemoteFileTableComponent(BaseRemoteFileSelectorPanel parentComponent)
Allows specification of the parent component. |
|
RemoteFileTableComponent(BaseRemoteFileSelectorPanel parentComponent,
java.lang.String supportType)
Allows specification of the parent component and the Action Provider Framework support type. |
|
RemoteFileTableComponent(javax.swing.table.DefaultTableModel model)
Allows specification of a table model. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getColumnRenderers()
Returns the column renderers used to format the table column values. |
java.util.List |
getPreviousPath()
Returns the list of previous file system paths that have been viewed. |
java.lang.Object |
getSelectionObject()
Returns an object that represents the selections currently made in the table. |
javax.swing.JComponent |
getViewComponent()
Returns the actual table component. |
void |
handleDoubleClick()
Queries and runs the Action Provider Framework for the action associated with a table cell double click action. |
protected void |
init()
Initializes the table component. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Listens for the propertyChangeEvent "path". |
void |
refreshData(java.lang.String path)
Fires the "path" property change event which refreshes the table. |
void |
setActionProvider(SwingActionProvider actionProvider)
Allows setting of the SwingActionProvider class. |
void |
setColumnRenderers(java.lang.Object[] columnRenderers)
Allows setting of an array of column renderers used to format the table column values. |
void |
setPath(java.lang.String path)
Allows setting of the next file system path to be viewed. |
void |
setPreviousPath(java.util.List previousPath)
Allows a list of file system paths to be set to act as a set of previously visited locations. |
void |
setRemoteModel(RemoteFileServerModelInterface remoteServerModel)
Allows specification of the table model. |
void |
setSelectionObject(java.lang.Object newSelectionObject)
Allows setting of an object that represents the selections to be shown in the table. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
Listens for the ListSelectionEvent, builds the current list of selections, and then fires a PropertyChangeEvent "selections". |
| Methods inherited from class com.sas.swing.visuals.remotefileselector.RemoteFileComponent |
|---|
addPropertyChangeListener, getRemoteModel, getSelections, isShowDirectoriesOnly, removePropertyChangeListener, setShowDirectoriesOnly |
| Field Detail |
|---|
protected TableView table
protected java.lang.Object[] columnRenderers
| Constructor Detail |
|---|
public RemoteFileTableComponent(BaseRemoteFileSelectorPanel parentComponent)
parentComponent - the parent component
public RemoteFileTableComponent(BaseRemoteFileSelectorPanel parentComponent,
java.lang.String supportType)
parentComponent - the parent componentsupportType - the support typepublic RemoteFileTableComponent(javax.swing.table.DefaultTableModel model)
model - the table model| Method Detail |
|---|
protected void init()
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - the PropertyChangeEventpublic void handleDoubleClick()
public java.util.List getPreviousPath()
getPreviousPath in interface RemoteFileComponentInterfacesetPreviousPath(List)public void setPreviousPath(java.util.List previousPath)
setPreviousPath in interface RemoteFileComponentInterfacepreviousPath - a list of String objectsgetPreviousPath()public void refreshData(java.lang.String path)
refreshData in interface RemoteFileComponentInterfacepath - the file system pathpublic void setPath(java.lang.String path)
setPath in interface RemoteFileComponentInterfacepath - the path to be viewedpublic java.lang.Object getSelectionObject()
getSelectionObject in interface RemoteFileComponentInterfacesetSelectionObject(Object)public void setSelectionObject(java.lang.Object newSelectionObject)
setSelectionObject in interface RemoteFileComponentInterfacenewSelectionObject - the selection objectgetSelectionObject()public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListenere - the ListSelectionEventpublic void setRemoteModel(RemoteFileServerModelInterface remoteServerModel)
setRemoteModel in interface RemoteFileComponentInterfaceremoteServerModel - the table modelRemoteFileComponentInterface.getRemoteModel()public javax.swing.JComponent getViewComponent()
getViewComponent in interface RemoteFileComponentInterfacepublic void setActionProvider(SwingActionProvider actionProvider)
setActionProvider in interface RemoteFileComponentInterfaceactionProvider - the action provider classpublic void setColumnRenderers(java.lang.Object[] columnRenderers)
setColumnRenderers in interface RemoteFileComponentInterfacecolumnRenderers - the column renderersgetColumnRenderers()public java.lang.Object[] getColumnRenderers()
getColumnRenderers in interface RemoteFileComponentInterfacesetColumnRenderers(Object[])
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||