|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionProviderViewInterface
The base interface for viewer components that acquire their Actions via the ActionProvider Framework (APF).
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 .
Method Summary | |
---|---|
java.lang.String |
getActionSupportType()
Return the key that is mapped to a particular support class in the APF. p> |
java.lang.Object |
getUniqueId()
Returns the unique identifier used by the APF to distinguish between multiple components. |
boolean |
isActionVisible(java.lang.String actionType,
java.lang.String areaType)
Returns a boolean indicating if the action type is visible in the specified area. |
java.util.Collection |
listActionTypes(java.lang.String areaType)
Returns a Collection of String objects that are keys representing valid actionTypes as defined by the support class that is currently associated with this component. |
java.util.Collection |
listAreaTypes()
Returns a Collection of String objects that are keys representing the valid areaTypes as defined by the support class that is currently associated with this component. |
void |
setActionSupportType(java.lang.String actionSupportType)
Sets the key that is mapped to a particular support class in the APF. |
void |
setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
Sets the visibility status of the specified actionType for the specified area. |
void |
setUniqueId(java.lang.Object uniqueId)
Sets the unique identifier used by the APF to distinguish between multiple components. |
Method Detail |
---|
void setActionVisible(java.lang.String actionType, java.lang.String areaType, boolean visible)
Sets the visibility status of the specified actionType for the specified area.
The actionType and areaType keys are defined by the support class to which the viewer will query for Actions, indirectly, throught its ActionProvider.
actionType
- The key that identifies the type of action as defined by the
support class.areaType
- The key that identifies the general area to which the actionType
is registered.
If null, then the method call applies to all the known areaTypes.
visible
- The boolean indicating whether the actionType should be visible.isActionVisible(java.lang.String, java.lang.String)
,
ActionProviderSupportTypes
boolean isActionVisible(java.lang.String actionType, java.lang.String areaType)
Returns a boolean indicating if the action type is visible in the specified area.
The actionType and areaType keys are defined by the support class to which the viewer indirectly queries for Actions through its ActionProvider.
actionType
- The key that identifies the type of action as defined by the
support class.areaType
- The key that identifies the type of area as defined by the support
class. If null, the method returns true only if the action is visible in all
areaTypes defined by the support class.
setActionVisible(java.lang.String, java.lang.String, boolean)
,
ActionProviderSupportTypes
java.util.Collection listAreaTypes()
Returns a Collection of String objects that are keys representing the valid areaTypes as defined by the support class that is currently associated with this component.
listActionTypes(java.lang.String)
,
setActionSupportType(java.lang.String)
java.util.Collection listActionTypes(java.lang.String areaType)
Returns a Collection of String objects that are keys representing valid actionTypes as defined by the support class that is currently associated with this component.
areaType
- The key associated with a defined areaType.
listAreaTypes()
,
setActionSupportType(java.lang.String)
void setActionSupportType(java.lang.String actionSupportType)
Sets the key that is mapped to a particular support class in the APF.
actionSupportType
- The key that is associated with a particular support class.getActionSupportType()
,
ActionProviderSupportTypes
java.lang.String getActionSupportType()
Return the key that is mapped to a particular support class in the APF. p>
setActionSupportType(java.lang.String)
,
ActionProviderSupportTypes
java.lang.Object getUniqueId()
Returns the unique identifier used by the APF to distinguish between multiple components.
setUniqueId(java.lang.Object)
void setUniqueId(java.lang.Object uniqueId)
Sets the unique identifier used by the APF to distinguish between multiple components.
the
- Viewer's uniqueIdgetUniqueId()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |