|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.portal.admin.studio.Action
Action Virtual representive of an action in the admin studio environment. Action can be rendered in many ways (tool bar button for example) according to the context it was added. The action can be retrieved also in the client side, using the acionManager global object.
| Constructor Summary | |
Action(java.lang.String id)
Constructor - construct an empty action with id, The title and description will be the id. |
|
Action(java.lang.String id,
java.lang.String title)
Constructor - construct a new action with id and title. |
|
Action(java.lang.String id,
java.lang.String title,
java.lang.String description)
Constructor - construct a new action with id title and description |
|
| Method Summary | |
void |
addComponentId(java.lang.String compId)
Internal: Add a component id that this action is related to. |
java.util.List |
getComponents()
Internal: |
java.lang.String |
getDescription()
Gets this action description. |
java.lang.String |
getId()
Gets the id of this action |
java.lang.String |
getTitle()
Gets the title of this action |
boolean |
isClientAction()
Indicates whether this action handling will be performed in the client side. |
boolean |
isEnabled()
Indicates if this action is enable (the components related to this action) |
void |
setClientAction()
Set this action to be a client action. |
void |
setDescription(java.lang.String description)
Set a description for this action. |
void |
setEnabled(boolean isEnabled)
Set this action to be anabled or diabled |
void |
setTitle(java.lang.String title)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Action(java.lang.String id,
java.lang.String title,
java.lang.String description)
id - unique id for this actiontitle - the title that will be rendered for components related to that actiondescription - description for this action, will extend the title (in a tool tip for example).
public Action(java.lang.String id,
java.lang.String title)
id - unique id for this actiontitle - the title that will be rendered for components related to that actionpublic Action(java.lang.String id)
id - unique id for this action| Method Detail |
public void setClientAction()
doMyAction()
Where myAction is the action idpublic boolean isClientAction()
public void setDescription(java.lang.String description)
description - the description string for this actionpublic java.lang.String getDescription()
public void setEnabled(boolean isEnabled)
isEnable - true for enable the action or false to diable itpublic boolean isEnabled()
public java.lang.String getId()
public java.lang.String getTitle()
public java.util.List getComponents()
public void addComponentId(java.lang.String compId)
compId - public void setTitle(java.lang.String title)
title - the title of this action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||