|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.tableview.BaseTableViewSupport
public abstract class BaseTableViewSupport
In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for the TableView.
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
|
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.tableview.TableViewAreaInterface |
---|
COLUMN_HEADER_AREA, DATA_CELL_AREA, EDIT_COLUMN_AREA, EDIT_ROW_AREA, ROW_HEADER_AREA, TITLE_AREA |
Constructor Summary | |
---|---|
BaseTableViewSupport(java.lang.Class actionClass)
Default Constructor |
Method Summary | |
---|---|
protected BaseAction |
createAndRegisterAction(java.lang.String areaType,
java.lang.String actionType)
|
protected void |
createDefaultActions()
Initializes the actionClass property and creates the default actions that this class supports. |
protected java.lang.Object |
getCustomAttributeValue(java.lang.String attributeName,
ActionSupportFilter filter)
Returns a value for a specific custom attribute. |
void |
initialize()
Initializes the support class. |
protected void |
registerDynamicValueInfo()
Registers, via addDynamicValueInfo method, the dynamic value information for different areas. |
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 RB_KEY
Constructor Detail |
---|
public BaseTableViewSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
protected void registerDynamicValueInfo()
public void initialize()
initialize
in class BaseActionProviderSupport
BaseActionProviderSupport.setLocale(java.util.Locale)
protected void createDefaultActions()
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)
protected BaseAction createAndRegisterAction(java.lang.String areaType, java.lang.String actionType)
protected java.lang.Object getCustomAttributeValue(java.lang.String attributeName, ActionSupportFilter filter)
BaseActionProviderSupport
If a support class can derive custom attribute values, then it should override this method.
Otherwise, this method returns null.
getCustomAttributeValue
in class BaseActionProviderSupport
attributeName
- The name of the custom attributefilter
- The object that encapsulates all the specific query information.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |