com.sas.actionprovider.support
Class SwingNavigationBarSupport

com.sas.actionprovider.support.SwingNavigationBarSupport
All Implemented Interfaces:
NavigationBarAreaInterface

public class SwingNavigationBarSupport

In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for relational transformation bean viewer components such as the TableView and NavigationBar.


Field Summary
 
Fields inherited from class com.sas.actionprovider.support.BaseNavigationBarSupport
CANCEL_ACTION, cancelAction, COMMIT_ACTION, commitAction, DELETE_ACTION, deleteAction, FIRST_COLUMN_ACTION, FIRST_ROW_ACTION, firstColumnAction, firstRowAction, GOTO_COLUMN_ACTION, GOTO_ROW_ACTION, gotoColumnAction, gotoRowAction, INSERT_ACTION, insertAction, LAST_COLUMN_ACTION, LAST_ROW_ACTION, lastColumnAction, lastRowAction, NEXT_COLUMN_ACTION, NEXT_ROW_ACTION, nextColumnAction, nextRowAction, PAGE_BACKWARD_COLUMNS_ACTION, PAGE_BACKWARD_ROWS_ACTION, PAGE_FORWARD_COLUMNS_ACTION, PAGE_FORWARD_ROWS_ACTION, pageBackwardColumnsAction, pageBackwardRowsAction, pageForwardColumnsAction, pageForwardRowsAction, PREVIOUS_COLUMN_ACTION, PREVIOUS_ROW_ACTION, previousColumnAction, previousRowAction, UPDATE_ACTION, updateAction
 
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
SwingNavigationBarSupport(java.lang.Class actionClass)
          Constructor
 
Method Summary
 BaseAction newActionInstance(java.lang.String actionType)
          Return a newly instantiated default HttpAction based on the specified actionType or return null if actionType not recognized.
 BaseAction newActionInstance(java.lang.String areaType, java.lang.String actionType)
          Return a newly instantiated default HttpAction based on the specified actionType or return null if actionType not recognized.
 
Methods inherited from class com.sas.actionprovider.support.BaseNavigationBarSupport
createDefaultActions, defineActionProperties, getAreaScopeAttributeMap, initialize, validArea
 
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport
addDefaultAction, getAction, getActionId, getActionOrderList, getActionProvider, getActions, getActionScopeAttribute, getActionScopeAttributeMap, getDefaultAction, getLocale, listActionTypes, listAreaTypes, listDefaultActions, reset, setAction, setActionOrderList, setActionProvider, setLocale
 

Constructor Detail

SwingNavigationBarSupport

public SwingNavigationBarSupport(java.lang.Class actionClass)
Constructor

Parameters:
actionClass - The class used to instantiate new actions.
Method Detail

newActionInstance

public BaseAction newActionInstance(java.lang.String areaType,
                                    java.lang.String actionType)
Return a newly instantiated default HttpAction based on the specified actionType or return null if actionType not recognized.

Specified by:
newActionInstance in class BaseActionProviderSupport
Parameters:
areaType - the key associated with a defined action type.
actionType - the key associated with a defined action type.
Returns:
a new action of the specified type.

newActionInstance

public BaseAction newActionInstance(java.lang.String actionType)
Return a newly instantiated default HttpAction based on the specified actionType or return null if actionType not recognized.

Parameters:
actionType - the key associated with a defined action type.
Returns:
a new action of the specified type.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.