|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.remotefileselector2.OpenFolderCommand
public class OpenFolderCommand
OpenFolderCommand This class updates the model path. The path specified becomes the current path for the model.
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
the resource key |
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
OpenFolderCommand()
Default constructor |
|
OpenFolderCommand(java.lang.String name)
Constructor that accepts a command name |
Method Summary | |
---|---|
void |
execute(java.lang.Object o)
Updates the path on the model to the new path. |
java.util.HashMap |
getEventInfo()
Returns information about the command. |
java.lang.Object |
getEventSource()
Returns the event source item model . |
java.lang.String |
getFolderName()
|
java.lang.String |
getFullyQualifiedLocation()
Returns the currently viewed file path attribute. |
RemoteFileNavigationModelInterface |
getModel()
Returns the model attribute value. |
java.lang.String |
getParentFolderPath()
|
int |
getSkipDirection()
|
boolean |
isContentsChanged()
Tests whether the contents are changed. |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
void |
setEventSource(java.lang.Object eventSource)
Allows setting of the event source. |
void |
setFolderName(java.lang.String folderName)
|
void |
setFullyQualifiedLocation(java.lang.String path)
Sets the currently viewed file path attribute. |
void |
setModel(RemoteFileNavigationModelInterface model)
Sets the model attribute value. |
void |
setParentFolderPath(java.lang.String pathName)
|
void |
setSkipDirection(int skipDirection)
|
Methods inherited from class com.sas.commands.BaseCommand |
---|
getLocale, getName, getNextCommandName, getText, isExecutable, isUndoable, setLocale, setName, setText, undo |
Methods inherited from class com.sas.entities.BaseEntity |
---|
clone, containsAttributeNamed, equals, equals, getAttribute, getAttribute, getAttributeCount, getAttributes, getEntityKey, getPropertyDescriptors, getStringAttribute, listAttributeNames, removeAllAttributes, removeAttribute, reset, sameEntity, setAttribute, setAttributes, setEntityKey, toString |
Methods inherited from interface com.sas.entities.BaseEntityValueInterface |
---|
getAttribute, setAttribute |
Methods inherited from interface com.sas.util.Command |
---|
clone |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public OpenFolderCommand()
public OpenFolderCommand(java.lang.String name)
name
- the command nameMethod Detail |
---|
public void execute(java.lang.Object o) throws java.lang.IllegalArgumentException
execute
in interface com.sas.util.SimpleCommand
execute
in class BaseCommand
o
- the object where the command is executed.
java.lang.IllegalArgumentException
public void setFullyQualifiedLocation(java.lang.String path)
path
- the current file pathgetFullyQualifiedLocation()
public java.lang.String getFullyQualifiedLocation()
setFullyQualifiedLocation(String)
public void setModel(RemoteFileNavigationModelInterface model)
model
- the model used by the commandgetModel()
public RemoteFileNavigationModelInterface getModel()
setModel(com.sas.swing.models.remotefileselector2.RemoteFileNavigationModelInterface)
public boolean isContentsChanged()
isContentsChanged
in interface ContentsChangedInterface
public java.util.HashMap getEventInfo()
getEventInfo
in interface ContentsChangedInterface
public java.lang.Object getEventSource()
model
.
getEventSource
in interface ContentsChangedInterface
setEventSource(Object)
public void setEventSource(java.lang.Object eventSource)
model
for this command.
eventSource
- the item to set as the event sourcegetEventSource()
public boolean isSupported(ActionSupportFilter actionFilter)
isSupported
in interface CommandSupportedInterface
actionFilter
- The object that describes the current area.
BaseAction.setReturnStatus(int)
public java.lang.String getFolderName()
public void setFolderName(java.lang.String folderName)
public java.lang.String getParentFolderPath()
public void setParentFolderPath(java.lang.String pathName)
public int getSkipDirection()
public void setSkipDirection(int skipDirection)
skipDirection
- the skipDirection to set
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |