|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.remotefileselector.RemoteFileSearchPanel
public class RemoteFileSearchPanel
RemoteFileSearchPanel class handles the display of the search window. It can be used as a dialog or as a panel.
Field Summary | |
---|---|
RemoteFileSearchComponent |
searchPanel
|
protected java.util.List |
selectedObjects
|
RemoteFileTableComponent |
tablePanel
|
Fields inherited from class com.sas.swing.visuals.remotefileselector.BaseRemoteFileSelectorPanel |
---|
buttonPanel, cancelled, columnNames, component, DRILL_DOWN_FILTER, drillDownFilter, filePanel, fileTypes, FILTER_TYPE_FILTER, filterTypeFilter, model, serviceModel, shortcutPanel, supportType, TABLE_DATA_FILTER, TABLE_HEADER_FILTER, tableColumnHeaderFilter, tableDataCellFilter, TOOLBAR_FILTER, toolbarFilter, transforms, viewerSupport, viewPanel |
Constructor Summary | |
---|---|
RemoteFileSearchPanel()
Default Constructor |
|
RemoteFileSearchPanel(java.lang.String initialPath,
com.sas.util.transforms.TransformInterface[] transforms,
java.lang.String[] columnNames,
java.lang.Object[] columnRenderers,
RemoteFileSearchModelInterface serviceModel)
Allows specification of the search starting path, the column transforms, the column names, column renderers and a file system service model. |
|
RemoteFileSearchPanel(java.lang.String initialPath,
com.sas.util.transforms.TransformInterface[] transforms,
java.lang.String[] columnNames,
RemoteFileSearchModelInterface serviceModel)
Allows specification of the search starting path, the column transforms, the column names and a file system service model. |
Method Summary | |
---|---|
java.util.List |
getReturnedInformation(boolean returnSelectedItems)
Returns the currently selected files or directories. |
void |
initialize(java.lang.String initialPath,
com.sas.util.transforms.TransformInterface[] transforms,
java.lang.String[] columnNames,
java.lang.Object[] columnRenderers,
RemoteFileSearchModelInterface serviceModel,
java.lang.String supportType)
Allows specification of the search starting path, the column transforms, the column names, column renderers, a file system service model and the Action Provider Framework support type. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Listens for changes in the selections made on the table component. |
void |
setCurrentPath(java.lang.String path)
Sets the current search starting path. |
static java.util.List |
showDialog(java.awt.Frame parent,
java.lang.String titleOfDialog,
boolean modal,
int typeOfDialog,
java.lang.String initialPath,
com.sas.util.transforms.TransformInterface[] transforms,
java.lang.String[] columnNames,
RemoteFileSearchModelInterface serviceModel,
boolean returnSelectedItems)
Shows the panel within a dialog window. |
static java.util.List |
showDialog(java.awt.Frame parent,
java.lang.String initialPath,
RemoteFileSearchPanel panel)
Allows specification of a parent frame, the search starting path, and a panel to display. |
Methods inherited from class com.sas.swing.visuals.remotefileselector.BaseRemoteFileSelectorPanel |
---|
contentsChanged, getActionProvider, getActionSupportFilter, getActionSupportType, getUniqueId, getViewComponent, initialize, initialize, isActionVisible, isCancelled, isShowDirectoriesOnly, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setCancelled, setColumnLabels, setDialogType, setServiceModel, setShowButtonPanel, setShowDirectoriesOnly, setShowFileNamePanel, setShowShortcutPanel, setTransforms, setUniqueId, showDialog |
Field Detail |
---|
public RemoteFileTableComponent tablePanel
public RemoteFileSearchComponent searchPanel
protected java.util.List selectedObjects
Constructor Detail |
---|
public RemoteFileSearchPanel()
public RemoteFileSearchPanel(java.lang.String initialPath, com.sas.util.transforms.TransformInterface[] transforms, java.lang.String[] columnNames, RemoteFileSearchModelInterface serviceModel)
initialPath
- the initial path to start the searchtransforms
- specifies transform objects for reading the columnscolumnNames
- specifies the names of the column headersserviceModel
- the file system service modelpublic RemoteFileSearchPanel(java.lang.String initialPath, com.sas.util.transforms.TransformInterface[] transforms, java.lang.String[] columnNames, java.lang.Object[] columnRenderers, RemoteFileSearchModelInterface serviceModel)
initialPath
- the initial path to start the searchtransforms
- specifies transform objects for reading the columnscolumnNames
- specifies the names of the column headerscolumnRenderers
- specifies the renderers used to format the columnsserviceModel
- the file system service modelMethod Detail |
---|
public static java.util.List showDialog(java.awt.Frame parent, java.lang.String titleOfDialog, boolean modal, int typeOfDialog, java.lang.String initialPath, com.sas.util.transforms.TransformInterface[] transforms, java.lang.String[] columnNames, RemoteFileSearchModelInterface serviceModel, boolean returnSelectedItems)
parent
- the parent of the dialog windowtitleOfDialog
- text to be used as the title of the dialog windowmodal
- specifies whether the window is modaltypeOfDialog
- specifies whether this dialog functions as a Save, Open, or OK window. Specify OK = 0, Save = 1, Open = 2initialPath
- the initial path to start the searchtransforms
- specifies transform objects for reading the columnscolumnNames
- specifies the names of the column headersserviceModel
- the file system service modelreturnSelectedItems
- specifies whether to return the selected search results when the window is closed
public static java.util.List showDialog(java.awt.Frame parent, java.lang.String initialPath, RemoteFileSearchPanel panel)
parent
- the parent of the panelinitialPath
- the initial path to start the searchpanel
- a panel class to be used
public void initialize(java.lang.String initialPath, com.sas.util.transforms.TransformInterface[] transforms, java.lang.String[] columnNames, java.lang.Object[] columnRenderers, RemoteFileSearchModelInterface serviceModel, java.lang.String supportType)
initialPath
- the initial path to start the searchtransforms
- specifies transform objects for reading the columnscolumnNames
- specifies the names of the column headerscolumnRenderers
- specifies the renderers used to format the columnsserviceModel
- the file system service modelsupportType
- specifies the Action Provider Framework support typepublic java.util.List getReturnedInformation(boolean returnSelectedItems)
getReturnedInformation
in class BaseRemoteFileSelectorPanel
returnSelectedItems
-
public void setCurrentPath(java.lang.String path)
path
- the path where searching will startpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
e
- the property change event
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |