|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.commands.dataselectors.ShowDetailSelectorCommand
public class ShowDetailSelectorCommand
| Field Summary | |
|---|---|
protected boolean |
contentsChanged
|
protected java.util.HashMap |
eventInfo
|
protected java.lang.Object |
eventSource
|
protected boolean |
swing
|
| Fields inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
|---|
actionClass, CANCEL_MODE, COMMIT_MODE, complete, modal, mode, model, PROCESS_MODE, selector, selectorModel, SHOW_MODE |
| Fields inherited from interface com.sas.commands.DynamicAttributeCommandInterface |
|---|
COMMAND_NAME_PREFIX |
| Constructor Summary | |
|---|---|
ShowDetailSelectorCommand()
Default constructor |
|
ShowDetailSelectorCommand(java.lang.String name)
Constructor that accepts a command name. |
|
ShowDetailSelectorCommand(java.lang.String name,
boolean swing)
Constructor that accepts a command name. |
|
ShowDetailSelectorCommand(java.lang.String name,
java.lang.String actionClass)
Constructor that accepts a command name and an action class type. |
|
| Method Summary | |
|---|---|
protected void |
commit(java.lang.Object o)
|
java.util.HashMap |
getEventInfo()
Returns a HashMap with information about the pending ContentsChangedEvent or null if no event is pending. |
java.lang.Object |
getEventSource()
Returns the source of a pending ContentsChangedEvent event. |
TupleElementInterface[] |
getTupleElements()
|
boolean |
isContentsChanged()
Returns true if a ContentsChangedEvent should be generated, false otherwise. |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the given area as specified by the current area information encapsulated in the ActionSupportFilter. |
boolean |
isSwing()
|
void |
setEventSource(java.lang.Object eventSource)
|
void |
setSwing(boolean swing)
|
void |
setTupleElements(TupleElementInterface[] te)
|
protected void |
show(java.lang.Object o)
|
| Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
|---|
cancel, cancel, closeSelector, execute, getMode, getModel, getSelector, getSelectorModel, isComplete, 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 |
| Field Detail |
|---|
protected boolean swing
protected boolean contentsChanged
protected java.util.HashMap eventInfo
protected java.lang.Object eventSource
| Constructor Detail |
|---|
public ShowDetailSelectorCommand()
public ShowDetailSelectorCommand(java.lang.String name)
name - the name for this command
public ShowDetailSelectorCommand(java.lang.String name,
boolean swing)
name - the name for this command
public ShowDetailSelectorCommand(java.lang.String name,
java.lang.String actionClass)
name - the name for this commandactionClass - the class name of the associated action| Method Detail |
|---|
protected void show(java.lang.Object o)
show in class BaseSelectorCommand
protected void commit(java.lang.Object o)
throws java.io.IOException
commit in class BaseSelectorCommandjava.io.IOExceptionpublic boolean isSupported(ActionSupportFilter actionFilter)
CommandSupportedInterfaceReturns a boolean indicating whether the command is supported for the given area as specified by the current area information encapsulated in the ActionSupportFilter.
isSupported in interface CommandSupportedInterfaceactionFilter - The ActionSupportFilter that encapsulates all the necessary
information to describe the current area.
BaseAction.setReturnStatus(int)public TupleElementInterface[] getTupleElements()
public void setTupleElements(TupleElementInterface[] te)
public boolean isContentsChanged()
BaseSelectorCommand
isContentsChanged in interface ContentsChangedInterfaceisContentsChanged in class BaseSelectorCommandpublic java.util.HashMap getEventInfo()
BaseSelectorCommand
getEventInfo in interface ContentsChangedInterfacegetEventInfo in class BaseSelectorCommandpublic java.lang.Object getEventSource()
BaseSelectorCommand
getEventSource in interface ContentsChangedInterfacegetEventSource in class BaseSelectorCommandpublic void setEventSource(java.lang.Object eventSource)
public void setSwing(boolean swing)
public boolean isSwing()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||