|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.ActionSupportFilter
public class ActionSupportFilter
An ActionSupportFilter encapsulates all the information needed by the ActionProvider Framework ( APF ) from the requesting component to carry out a single query for Actions.
A basic understanding of the ActionProvider Framework, of which this class is a part, is recommended before attempting to use this class.
For general information on the ActionProvider Framework, including an overview of how
the primary classes of the framework work together, refer to the
package documentation.
com.sas.actionprovider
For examples demonstrating how to use the ActionProvider Framework, including how to override default Actions or add new custom Actions, refer to the Samples Site.
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
BaseActionProvider.getActions(com.sas.actionprovider.ActionSupportFilter)
Constructor Summary | |
---|---|
ActionSupportFilter()
Default constructor. |
|
ActionSupportFilter(java.lang.String supportType,
java.lang.String areaType,
ActionProviderViewInterface viewer)
Three argument constructor. |
|
ActionSupportFilter(java.lang.String supportType,
java.lang.String areaType,
ActionProviderViewInterface viewer,
boolean swing)
Four argument constructor. |
Method Summary | |
---|---|
int |
getActionIndex()
Returns the index that identifies which version of multiple Actions of the same actionType is being requested at the support class level. |
java.lang.String |
getActionSupportType()
Returns the support class type which is a key map to a particular instance of a support class on an ActionProvider. |
java.lang.String |
getAreaType()
Returns the areaType as defined by the support class to which the viewer is requesting actions. |
int |
getListIndex()
Returns the index that identifies which version of multiple ActionLists of the same actionType is being requested at the support class level. |
java.util.Locale |
getLocale()
Returns the Locale object used in setting action attributes whose values are determined dynamically. |
ActionProviderViewInterface |
getViewer()
Returns the component requesting the actions |
void |
setActionIndex(int index)
Sets the index that identifies which version of multiple Actions of the same actionType is being requested at the support class level. |
void |
setActionSupportType(java.lang.String supportType)
Sets the support class type which is a key map to a particular instance of a support class on an ActionProvider. |
void |
setAreaType(java.lang.String areaType)
Sets the areaType, as defined by the support class, for which the viewer is requesting actions. |
void |
setListIndex(int index)
Sets the index that identifies which version of multiple ActionLists of the same actionType is being requested at the support class level. |
void |
setLocale(java.util.Locale locale)
Sets the Locale object to be used in setting action attributes whose values are determined dynamically. |
void |
setViewer(ActionProviderViewInterface viewer)
Sets the current viewer requesting the actions |
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 |
Constructor Detail |
---|
public ActionSupportFilter()
public ActionSupportFilter(java.lang.String supportType, java.lang.String areaType, ActionProviderViewInterface viewer)
Three argument constructor.
supportType
- a key that maps to a support class.areaType
- a key that maps to a general area defined by the support class.SwingActionProvider
,
HttpActionProvider
,
ActionProviderSupportTypes
public ActionSupportFilter(java.lang.String supportType, java.lang.String areaType, ActionProviderViewInterface viewer, boolean swing)
Four argument constructor.
supportType
- a key that maps to a support class.areaType
- a key that maps to a general area defined by the support class.viewer
- the viewer that will make the getActions() call on an ActionProvider with
this ActionSupportFilter as an argument.swing
- true if the component creating this filter is a swing componentSwingActionProvider
,
HttpActionProvider
,
ActionProviderSupportTypes
Method Detail |
---|
public void setActionSupportType(java.lang.String supportType)
Sets the support class type which is a key map to a particular instance of a support class on an ActionProvider.
supportType
- a key mapped to a particular support class.getActionSupportType()
,
ActionProviderSupportTypes
public void setViewer(ActionProviderViewInterface viewer)
Sets the current viewer requesting the actions
viewer
- component requesting the actionsgetViewer()
public void setAreaType(java.lang.String areaType)
Sets the areaType, as defined by the support class, for which the viewer is requesting actions.
areaType
- the areaType key defined by the support class for which the viewer is
requesting actions.getAreaType()
public void setActionIndex(int index)
Internal Use Only: This attribute is set by the BaseActionProviderSupport whenever the support class implements the DynamicActionCountInterface to indicate which version of the multiple same-actionType actions is being loaded.
The values of this attribute range from 1 to the number returned by the support classe's getActionCount() method.
index
- the index of the action that identifies which of multiple
Actions of the same actionType that are returned for a particular
area.getActionIndex()
public void setListIndex(int index)
Internal Use Only: This attribute is set by the BaseActionProviderSupport whenever the support class implements the DynamicActionCountInterface to indicate which version of the multiple same-actionType ActionLists is being loaded.
The values of this attribute range from 1 to the number returned by the support classe's getActionCount() method.
index
- the index of the ActionList that identifies which of multiple
ActionLists of the same actionType that are returned for a particular
area.getActionIndex()
,
ActionList
public java.lang.String getActionSupportType()
Returns the support class type which is a key map to a particular instance of a support class on an ActionProvider.
setActionSupportType(java.lang.String)
,
ActionProviderSupportTypes
public ActionProviderViewInterface getViewer()
Returns the component requesting the actions
setViewer(com.sas.actionprovider.ActionProviderViewInterface)
public java.lang.String getAreaType()
Returns the areaType as defined by the support class to which the viewer is requesting actions.
setAreaType(java.lang.String)
public int getActionIndex()
This attribute is set by the BaseActionProviderSupport whenever the support class implements the DynamicActionCountInterface to indicate which version of the multiple same-actionType actions is being loaded.
The values of this attribute range from 1 to the number returned by the support classe's getActionCount() method.
setActionIndex(int)
public int getListIndex()
This attribute is set by the BaseActionProviderSupport whenever the support class implements the DynamicActionCountInterface to indicate which version of the multiple same-actionType ActionLists is being loaded.
The values of this attribute range from 1 to the number returned by the support classe's getActionCount() method.
getActionIndex()
,
ActionList
public java.util.Locale getLocale()
Returns the Locale object used in setting action attributes whose values are determined dynamically.
setLocale(java.util.Locale)
public void setLocale(java.util.Locale locale)
Sets the Locale object to be used in setting action attributes whose values are determined dynamically.
getLocale()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |