|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.BaseNavigationBarSupport
public abstract class BaseNavigationBarSupport
In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for the NavigationBar.
Field Summary | |
---|---|
static java.lang.String |
CANCEL_ACTION
The actionType key used to define the cancel action. |
protected BaseAction |
cancelAction
The cancel action. |
static java.lang.String |
COMMIT_ACTION
The actionType key used to define the commit action. |
protected BaseAction |
commitAction
The commit action. |
static java.lang.String |
DELETE_ACTION
The actionType key used to define the delete action. |
protected BaseAction |
deleteAction
The delete action. |
static java.lang.String |
FIRST_COLUMN_ACTION
The actionType key used to define the action to scroll to the first column. |
static java.lang.String |
FIRST_ROW_ACTION
The actionType key used to define the action to scroll to the first row. |
protected BaseAction |
firstColumnAction
The firstColumn action. |
protected BaseAction |
firstRowAction
The firstRow action. |
static java.lang.String |
GOTO_COLUMN_ACTION
The actionType key used to define the goto column action. |
static java.lang.String |
GOTO_ROW_ACTION
The actionType key used to define the goto row action. |
protected BaseAction |
gotoColumnAction
The gotoColumn action. |
protected BaseAction |
gotoRowAction
The gotoRow action. |
static java.lang.String |
INSERT_ACTION
The actionType key used to define the insert action. |
protected BaseAction |
insertAction
The insert action. |
static java.lang.String |
LAST_COLUMN_ACTION
The actionType key used to define the action to scroll to the last column. |
static java.lang.String |
LAST_ROW_ACTION
The actionType key used to define the action to scroll to the last row. |
protected BaseAction |
lastColumnAction
The lastColumn action. |
protected BaseAction |
lastRowAction
The lastRow action. |
static java.lang.String |
NEXT_COLUMN_ACTION
The actionType key used to define the action to scroll to the next column. |
static java.lang.String |
NEXT_ROW_ACTION
The actionType key used to define the action to scroll to the next row. |
protected BaseAction |
nextColumnAction
The nextColumn action. |
protected BaseAction |
nextRowAction
The nextRow action. |
static java.lang.String |
PAGE_BACKWARD_COLUMNS_ACTION
The actionType key used to define the action to scroll to the previous column page. |
static java.lang.String |
PAGE_BACKWARD_ROWS_ACTION
The actionType key used to define the action to scroll to the previous row page. |
static java.lang.String |
PAGE_FORWARD_COLUMNS_ACTION
The actionType key used to define the action to scroll to the next column page. |
static java.lang.String |
PAGE_FORWARD_ROWS_ACTION
The actionType key used to define the action to scroll to the next row page. |
protected BaseAction |
pageBackwardColumnsAction
The pageBackwardColumns action. |
protected BaseAction |
pageBackwardRowsAction
The pageBackwardRows action. |
protected BaseAction |
pageForwardColumnsAction
The pageForwardColumns action. |
protected BaseAction |
pageForwardRowsAction
The pageForwardRows action. |
static java.lang.String |
PREVIOUS_COLUMN_ACTION
The actionType key used to define the action to scroll to the previous column. |
static java.lang.String |
PREVIOUS_ROW_ACTION
The actionType key used to define the action to scroll to the previous row. |
protected BaseAction |
previousColumnAction
The previousColumn action. |
protected BaseAction |
previousRowAction
The previousRow action. |
static java.lang.String |
UPDATE_ACTION
The actionType key used to define the update action. |
protected BaseAction |
updateAction
The update action. |
Fields inherited from class com.sas.actionprovider.support.BaseActionProviderSupport |
---|
AREA_DISABLED, AREA_VALUE_ATTRKEY, DISABLED, ENABLED, IS_CURRENT_STATE_DISABLED, MODEL_MEMBER_DISABLED, MODEL_STATE_DISABLED, MODEL_TYPE_DISABLED, NON_SPECIFIC_AREA, UNSUPPORTED, VIEWER_DISABLED |
Fields inherited from interface com.sas.actionprovider.support.NavigationBarAreaInterface |
---|
COLUMN_GOTO_AREA, COLUMN_SCROLL_BACKWARD_AREA, COLUMN_SCROLL_FORWARD_AREA, EDIT_AREA, ROW_GOTO_AREA, ROW_SCROLL_BACKWARD_AREA, ROW_SCROLL_FORWARD_AREA |
Constructor Summary | |
---|---|
BaseNavigationBarSupport(java.lang.Class actionClass)
Constructor |
Method Summary | |
---|---|
protected void |
createDefaultActions()
Initializes the actionClass property and creates the default actions that this class supports. |
protected BaseAction |
defineActionProperties(BaseAction action,
java.lang.String actionType)
Returns an action whose default dynamic attributes have been defined according to their actionType. |
protected java.util.Map |
getAreaScopeAttributeMap(ActionSupportFilter filter)
Returns mappings for a pre-defined set of Action Attribute keys to their corresponding dynamic values for a specific area. |
void |
initialize()
Initializes the support class. |
protected boolean |
validArea(Area area,
ActionSupportFilter filter)
Validates that the given Area's 'type' and, if specified, its 'value' constraints are met by the information provided on the action filter. |
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport |
---|
addDefaultAction, getAction, getActionId, getActionOrderList, getActionProvider, getActions, getActionScopeAttribute, getActionScopeAttributeMap, getDefaultAction, getLocale, listActionTypes, listAreaTypes, listDefaultActions, newActionInstance, reset, setAction, setActionOrderList, setActionProvider, setLocale |
Field Detail |
---|
public static final java.lang.String FIRST_ROW_ACTION
public static final java.lang.String PAGE_BACKWARD_ROWS_ACTION
public static final java.lang.String PREVIOUS_ROW_ACTION
public static final java.lang.String NEXT_ROW_ACTION
public static final java.lang.String PAGE_FORWARD_ROWS_ACTION
public static final java.lang.String LAST_ROW_ACTION
public static final java.lang.String GOTO_ROW_ACTION
public static final java.lang.String FIRST_COLUMN_ACTION
public static final java.lang.String PAGE_BACKWARD_COLUMNS_ACTION
public static final java.lang.String PREVIOUS_COLUMN_ACTION
public static final java.lang.String NEXT_COLUMN_ACTION
public static final java.lang.String PAGE_FORWARD_COLUMNS_ACTION
public static final java.lang.String LAST_COLUMN_ACTION
public static final java.lang.String GOTO_COLUMN_ACTION
public static final java.lang.String INSERT_ACTION
public static final java.lang.String DELETE_ACTION
public static final java.lang.String COMMIT_ACTION
public static final java.lang.String CANCEL_ACTION
public static final java.lang.String UPDATE_ACTION
protected BaseAction firstRowAction
protected BaseAction pageBackwardRowsAction
protected BaseAction previousRowAction
protected BaseAction nextRowAction
protected BaseAction pageForwardRowsAction
protected BaseAction lastRowAction
protected BaseAction gotoRowAction
protected BaseAction firstColumnAction
protected BaseAction pageBackwardColumnsAction
protected BaseAction previousColumnAction
protected BaseAction nextColumnAction
protected BaseAction pageForwardColumnsAction
protected BaseAction lastColumnAction
protected BaseAction gotoColumnAction
protected BaseAction insertAction
protected BaseAction deleteAction
protected BaseAction commitAction
protected BaseAction cancelAction
protected BaseAction updateAction
Constructor Detail |
---|
public BaseNavigationBarSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
public void initialize()
initialize
in class BaseActionProviderSupport
BaseActionProviderSupport.setLocale(java.util.Locale)
protected void createDefaultActions()
protected java.util.Map getAreaScopeAttributeMap(ActionSupportFilter filter)
getAreaScopeAttributeMap
in class BaseActionProviderSupport
filter
- Defines the specific area
protected BaseAction defineActionProperties(BaseAction action, java.lang.String actionType)
action
- The action object whose properties are to be defined.actionType
- the key associated with a defined action type.
protected boolean validArea(Area area, ActionSupportFilter filter)
validArea
in class BaseActionProviderSupport
area
- The Area object that may or may not specify certain area 'values'.actionFilter
- the ActionSupportFilter that the component passed as an
argument on the getActions() method.
BaseActionProviderSupport.setAction(com.sas.actionprovider.BaseAction, java.util.Collection, com.sas.actionprovider.Area)
,
BaseActionProviderSupport.getActions(com.sas.actionprovider.ActionSupportFilter)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |