|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.swing.visuals.remotefileselector.RemoteFileSearchComponent
public class RemoteFileSearchComponent
RemoteFileSearchComponent is the class used to display a window used to search for files. It combines fields to specify the search with a table displaying the search results.
| Field Summary | |
|---|---|
protected ActionSupportFilter |
buttonFilter
the Action Provider Framework button filter class |
protected RemoteFileTableComponent |
component
the table component used to show the search results |
protected RemoteFileServerModelInterface |
model
the table model containing the search results |
protected javax.swing.JComboBox |
searchWhereField
the field that displays the directory where the search starts |
protected SwingAction |
startAction
the action class associated with the start button |
protected javax.swing.JButton |
startSearch
the button used to start the search process |
protected SwingViewerSupport |
viewerSupport
the Action Provider Framework viewer support class |
| Constructor Summary | |
|---|---|
RemoteFileSearchComponent(java.lang.String supportType,
RemoteFileSearchModelInterface serviceModel,
RemoteFileTableComponent tablePanel,
RemoteFileServerModelInterface model)
Constructor that allows setting the support type, the file system service model, the search results table panel, and the table panel's model. |
|
| Method Summary | |
|---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent event)
Listens for the search contentsChanged events from the command. |
SwingActionProvider |
getActionProvider()
Returns the ActionProvider object |
java.lang.String |
getActionSupportType()
Return the key that associated with a particular support class in the ActionProvider framework. |
java.lang.Object |
getUniqueId()
Returns the Viewer's uniqueId |
boolean |
isActionVisible(java.lang.String actionType,
java.lang.String areaType)
Returns a boolean indicating if the action type is visible everywhere in the specified areaType. |
java.util.Collection |
listActionTypes(java.lang.String areaType)
Returns a Collection of String keys that define the valid actionTypes for the specified area of the action support class designated the actionSupportType attribute. |
java.util.Collection |
listAreaTypes()
Returns a Collection of String keys that define the valid areaTypes for the action support class designated by the actionSupportType attribute. |
void |
setActionProvider(SwingActionProvider actionProvider)
Sets the ActionProvider object |
void |
setActionSupportType(java.lang.String actionSupportType)
Set the key that associated with a particular support class in the ActionProvider framework. |
void |
setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
Sets the visible status of the specified actionType for the specified area. |
void |
setCurrentPath(java.lang.String path)
Sets the path to be used as the search start location. |
void |
setUniqueId(java.lang.Object uniqueId)
Returns the Viewer's uniqueId |
| Field Detail |
|---|
protected SwingViewerSupport viewerSupport
protected ActionSupportFilter buttonFilter
protected javax.swing.JButton startSearch
protected SwingAction startAction
protected RemoteFileTableComponent component
protected javax.swing.JComboBox searchWhereField
protected RemoteFileServerModelInterface model
| Constructor Detail |
|---|
public RemoteFileSearchComponent(java.lang.String supportType,
RemoteFileSearchModelInterface serviceModel,
RemoteFileTableComponent tablePanel,
RemoteFileServerModelInterface model)
supportType - the Action Provider Framework support typeserviceModel - the file system service modeltablePanel - the search results table modelmodel - the table panel's model| Method Detail |
|---|
public void setCurrentPath(java.lang.String path)
path - the currently used pathpublic void setActionProvider(SwingActionProvider actionProvider)
setActionProvider in interface SwingActionProviderViewInterfaceActionProvider - objectSwingActionProviderViewInterface.getActionProvider()public SwingActionProvider getActionProvider()
getActionProvider in interface SwingActionProviderViewInterfaceSwingActionProviderViewInterface.setActionProvider(com.sas.actionprovider.SwingActionProvider)
public void setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
setActionVisible in interface ActionProviderViewInterfaceactionType - The key that identifies the type of action.area - The area affected by the change in visibility fort the actionType. If null,
then the method call applies to all the known areaTypes.visible - The boolean indicating whether the actionType should be hidden
or unhidden.
java.lang.IllegalArgumentException - if null or invalid actionType specified.
java.lang.IllegalArgumentException - if invalid areaType specified.
java.lang.IllegalStateException - if actionSupportType not set.ActionProviderViewInterface.isActionVisible(java.lang.String, java.lang.String),
ActionProviderSupportTypes
public boolean isActionVisible(java.lang.String actionType,
java.lang.String areaType)
isActionVisible in interface ActionProviderViewInterfaceactionType - The key that identifies the type of action as defined by the
support class.areaType - The key that identifies the type of area as defined by the support
class.
ActionProviderViewInterface.setActionVisible(java.lang.String, java.lang.String, boolean),
ActionProviderSupportTypespublic java.lang.Object getUniqueId()
getUniqueId in interface ActionProviderViewInterfaceActionProviderViewInterface.setUniqueId(java.lang.Object)public void setUniqueId(java.lang.Object uniqueId)
setUniqueId in interface ActionProviderViewInterfaceActionProviderViewInterface.getUniqueId()public java.util.Collection listAreaTypes()
listAreaTypes in interface ActionProviderViewInterfaceactionSupportType - The key associated with a support class.
ActionProviderViewInterface.listActionTypes(java.lang.String),
ActionProviderViewInterface.setActionSupportType(java.lang.String)public java.util.Collection listActionTypes(java.lang.String areaType)
listActionTypes in interface ActionProviderViewInterfaceactionSupportType - The key associated with a support class.areaType - The key associated with a defined areaType.
ActionProviderViewInterface.listAreaTypes(),
ActionProviderViewInterface.setActionSupportType(java.lang.String)public void setActionSupportType(java.lang.String actionSupportType)
setActionSupportType in interface ActionProviderViewInterfaceactionSupportType - The key that is associated with a particular support class.ActionProviderViewInterface.getActionSupportType(),
ActionProviderSupportTypespublic java.lang.String getActionSupportType()
getActionSupportType in interface ActionProviderViewInterfaceActionProviderViewInterface.setActionSupportType(java.lang.String),
ActionProviderSupportTypespublic void contentsChanged(com.sas.collection.ContentsChangedEvent event)
contentsChanged in interface com.sas.collection.ContentsChangedListenerevent - the contentsChanged event
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||