|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.dataselectors.OLAPSortSelectorCommand
public class OLAPSortSelectorCommand
Field Summary | |
---|---|
static int |
HIERARCHICAL_ASCENDING
|
static int |
HIERARCHICAL_DESCENDING
|
protected boolean |
swing
|
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.util.SortDirectionInterface |
---|
ASCENDING, DESCENDING, NOT_SORTED |
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 | |
---|---|
OLAPSortSelectorCommand()
Default constructor |
|
OLAPSortSelectorCommand(java.lang.String name)
Constructor that accepts a command name. |
|
OLAPSortSelectorCommand(java.lang.String name,
boolean swing)
Constructor that accepts a command name. |
|
OLAPSortSelectorCommand(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.lang.String[] |
getCellValueSortedDirections()
Returns an array of strings that indicate the sort directions of the cellValueSortedItems. |
java.lang.String[] |
getCellValueSortedItems()
Returns an array of strings containing unique IDs of the items to be sorted. |
java.lang.String |
getCellValueSortHierarchy()
Returns the string that indicates if the cell value hierarchy is to be maintained. |
int |
getCommandStatus(ActionSupportFilter filter)
Returns a int value indicating whether the command is enabled for the given area as specified by the current area information encapsulate in the ActionSupportFilter. |
java.lang.String[] |
getLevelLabelSortedDirections()
Returns an array of strings that indicate the sort directions of the levelLabelSortedItems. |
java.lang.String[] |
getLevelLabelSortedItems()
Returns an array of strings containing unique IDs of the items to be sorted. |
java.lang.String |
getLevelLabelSortHierarchy()
Returns the string that indicates if the level label hierarchy is to be maintained. |
boolean |
isSwing()
|
void |
setCellValueSortedDirections(java.lang.String[] directions)
Sets the array of strings that indicate the sort directions of the cellValueSortedItems. |
void |
setCellValueSortedItems(java.lang.String[] items)
Sets an array of strings containing unique IDs of the items to be sorted. |
void |
setCellValueSortHierarchy(java.lang.String value)
Sets the string that indicates if the cell value hierarchy is to be maintained. |
void |
setLevelLabelSortedDirections(java.lang.String[] directions)
Sets the array of strings that indicate the sort directions of the levelLabelSortedItems. |
void |
setLevelLabelSortedItems(java.lang.String[] items)
Sets an array of strings containing unique IDs of the items to be sorted. |
void |
setLevelLabelSortHierarchy(java.lang.String value)
Sets the string that indicates if the level label hierarchy is to be maintained. |
void |
setSwing(boolean swing)
|
protected void |
show(java.lang.Object o)
|
Methods inherited from class com.sas.commands.dataselectors.BaseSelectorCommand |
---|
cancel, 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.commands.ContentsChangedInterface |
---|
getEventInfo, getEventSource, isContentsChanged |
Methods inherited from interface com.sas.entities.BaseEntityValueInterface |
---|
getAttribute, setAttribute |
Methods inherited from interface com.sas.util.Command |
---|
clone |
Field Detail |
---|
protected boolean swing
public static final int HIERARCHICAL_ASCENDING
public static final int HIERARCHICAL_DESCENDING
Constructor Detail |
---|
public OLAPSortSelectorCommand()
public OLAPSortSelectorCommand(java.lang.String name)
name
- the name for this commandpublic OLAPSortSelectorCommand(java.lang.String name, boolean swing)
name
- the name for this commandpublic OLAPSortSelectorCommand(java.lang.String name, java.lang.String actionClass)
name
- the name for this commandactionClass
- the class name of the associated actionMethod 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 BaseSelectorCommand
java.io.IOException
public int getCommandStatus(ActionSupportFilter filter)
getCommandStatus
in interface CommandStatusInterface
filter
- The ActionSupportFilter that encapsulates all the necessary
information to describe the current area.
BaseAction.setReturnStatus(int)
public void setSwing(boolean swing)
public boolean isSwing()
public java.lang.String[] getLevelLabelSortedItems()
public void setLevelLabelSortedItems(java.lang.String[] items)
items
- an array of strings containing unique IDs of the items to be
sortedpublic java.lang.String[] getLevelLabelSortedDirections()
public void setLevelLabelSortedDirections(java.lang.String[] directions)
directions
- an array of strings that indicate the sort directions of the
levelLabelSortedItemspublic void setLevelLabelSortHierarchy(java.lang.String value)
value
- the string that indicates if the level label hierarchy is to
be maintained.public java.lang.String getLevelLabelSortHierarchy()
public java.lang.String[] getCellValueSortedItems()
public void setCellValueSortedItems(java.lang.String[] items)
items
- an array of strings containing unique IDs of the items to be
sortedpublic java.lang.String[] getCellValueSortedDirections()
public void setCellValueSortedDirections(java.lang.String[] directions)
directions
- an array of strings that indicate the sort directions of the
cellValueSortedItemspublic void setCellValueSortHierarchy(java.lang.String value)
value
- the string that indicates if the cell value hierarchy is to
be maintained.public java.lang.String getCellValueSortHierarchy()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |