|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.commands.dataselectors.FindSelectorCommand
public class FindSelectorCommand
Assists the Find selector with business model interactions needed to perform the find functions.
Field Summary | |
---|---|
protected FindSelectorInterface |
adapter
|
protected int |
columnNumber
|
protected java.lang.String |
findCondition
|
protected java.lang.String |
findDirection
|
protected java.lang.String |
findType
|
protected java.lang.String |
findValue
|
protected int |
rowNumber
|
protected com.sas.beans.PropertyChangeSource |
viewerComponent
|
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.commands.DynamicAttributeCommandInterface |
---|
COMMAND_NAME_PREFIX |
Constructor Summary | |
---|---|
FindSelectorCommand()
|
|
FindSelectorCommand(java.lang.String name)
Constructor that accepts a command name |
|
FindSelectorCommand(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)
Commits all changes made to the selector model to the viewer's business model. |
protected FindSelectorInterface |
createAdapter(OLAPDataSetInterface ods)
|
int |
getColumnNumber()
Get the viewer current column number |
java.lang.String |
getFindCondition()
Get the find condition string |
java.lang.String |
getFindDirection()
Get the find direction string |
java.lang.String |
getFindType()
Get the find type |
java.lang.String |
getFindValue()
Get the find value |
int |
getRowNumber()
Get the viewer current row number |
com.sas.beans.PropertyChangeSource |
getViewerComponent()
Get the viewer component |
boolean |
isSupported(ActionSupportFilter actionFilter)
Returns a boolean indicating whether the command is supported for the area specified on the ActionSupportFilter argument. |
protected void |
process(java.lang.Object o)
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
Responds to property change events from the attached viewer. |
void |
setColumnNumber(int i)
Set the viewer current column number |
void |
setFindCondition(java.lang.String string)
Set the find condition |
void |
setFindDirection(java.lang.String string)
Set the find direction |
void |
setFindType(java.lang.String string)
Set the find type |
void |
setFindValue(java.lang.String string)
Set the find value |
void |
setRowNumber(int i)
Set the viewer current row number |
void |
setViewerComponent(com.sas.beans.PropertyChangeSource vwr)
Set the viewer component. |
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, 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 java.lang.String findType
protected java.lang.String findCondition
protected java.lang.String findValue
protected java.lang.String findDirection
protected FindSelectorInterface adapter
protected int rowNumber
protected int columnNumber
protected com.sas.beans.PropertyChangeSource viewerComponent
Constructor Detail |
---|
public FindSelectorCommand()
public FindSelectorCommand(java.lang.String name)
public FindSelectorCommand(java.lang.String name, java.lang.String actionClass)
Method Detail |
---|
protected void show(java.lang.Object o)
show
in class BaseSelectorCommand
protected void process(java.lang.Object o)
process
in class BaseSelectorCommand
public 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
BusinessQuery
,
BusinessModel
protected FindSelectorInterface createAdapter(OLAPDataSetInterface ods)
public boolean isSupported(ActionSupportFilter actionFilter)
isSupported
in interface CommandSupportedInterface
actionFilter
- - the object that describes the current area.
BaseAction.setReturnStatus(int)
public java.lang.String getFindCondition()
public java.lang.String getFindDirection()
public java.lang.String getFindType()
public java.lang.String getFindValue()
public void setFindCondition(java.lang.String string)
string
- the find conditionpublic void setFindDirection(java.lang.String string)
string
- the find directionpublic void setFindType(java.lang.String string)
string
- the find typepublic void setFindValue(java.lang.String string)
string
- the find valuepublic int getColumnNumber()
public int getRowNumber()
public void setColumnNumber(int i)
i
- the column numberpublic void setRowNumber(int i)
i
- the row numberpublic void setViewerComponent(com.sas.beans.PropertyChangeSource vwr)
vwr
- the viewer componentpublic com.sas.beans.PropertyChangeSource getViewerComponent()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |