|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.dataselectors.MemberPropertiesCommand
public class MemberPropertiesCommand
Assists the Find selector with business model interactions needed to perform the find functions.
Field Summary |
---|
Fields inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
---|
actionClass, CANCEL_MODE, COMMIT_MODE, complete, contentsChanged, eventInfo, eventSource, modal, mode, model, PROCESS_MODE, selector, selectorModel, SHOW_MODE |
Fields inherited from interface com.sas.actionprovider.CommandStatusInterface |
---|
DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED |
Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
MemberPropertiesCommand()
|
|
MemberPropertiesCommand(java.lang.String name)
Constructor that accepts a command name |
|
MemberPropertiesCommand(java.lang.String name,
boolean swing)
Constructor that accepts a command name and boolean attribute for specifying the swing attribute. |
|
MemberPropertiesCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type |
Method Summary | |
---|---|
void |
cancel(java.lang.Object o)
Cancel is called when the user clicks on the cancel button on the selector or another selector becomes active. |
protected void |
commit(java.lang.Object o)
|
int |
getCommandStatus(ActionSupportFilter actionFilter)
Returns a status value indicating whether the command is enabled for a specific area as described by various filter attributes. |
java.lang.String |
getExpandedLevel()
Returns the list of uniqueLevelNames that determine which level nodes should be exanded when the selector is launched. |
java.util.List |
getProperties()
|
boolean |
isSwing()
Returns the swing attribute which should be true when the command is used in a swing environment, false otherwise. |
void |
setExpandedLevel(java.lang.String expandedLevel)
Sets the list of uniqueLevelNames that determine which level nodes should be exanded when the selector is launched. |
void |
setProperties(java.util.List properties)
|
void |
setSwing(boolean swing)
Sets the swing attribute which should be true when the command is used in a swing environment, false otherwise. |
protected void |
show(java.lang.Object o)
Creates the selector model and sets it on the selector. |
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
---|
cancel, closeSelector, execute, getEventInfo, getEventSource, getMode, getModel, getSelector, getSelectorModel, isComplete, isContentsChanged, isModal, process, setComplete, setModal, setMode, setModel, setSelector, setSelectorModel |
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 |
Constructor Detail |
---|
public MemberPropertiesCommand()
public MemberPropertiesCommand(java.lang.String name)
public MemberPropertiesCommand(java.lang.String name, java.lang.String actionClass)
public MemberPropertiesCommand(java.lang.String name, boolean swing)
name
- the command's nameswing
- true if command used in a Swing environment, false otherwise;Method Detail |
---|
protected void show(java.lang.Object o)
show
in class BaseSelectorCommand
java.lang.IllegalStateException
- thrown if no selector is not setpublic void cancel(java.lang.Object o)
cancel
in class BaseSelectorCommand
protected void commit(java.lang.Object o) throws java.io.IOException
commit
in class BaseSelectorCommand
java.io.IOException
public int getCommandStatus(ActionSupportFilter actionFilter)
CommandStatusInterface
If enabled, the value is:
CommandStatusInterface.ENABLED
If disabled, the value may be one of the following values which indicate why the command is disabled.
CommandStatusInterface.MODEL_TYPE_DISABLED
CommandStatusInterface.MODEL_STATE_DISABLED
CommandStatusInterface.MODEL_MEMBER_DISABLED
CommandStatusInterface.IS_CURRENT_STATE_DISABLED
CommandStatusInterface.DISABLED
getCommandStatus
in interface CommandStatusInterface
actionFilter
- - the object that describes the current area.
BaseAction.setReturnStatus(int)
public void setProperties(java.util.List properties)
public java.util.List getProperties()
public void setExpandedLevel(java.lang.String expandedLevel)
public java.lang.String getExpandedLevel()
public void setSwing(boolean swing)
swing
- the swing attribute value.public boolean isSwing()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |