|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.portal.admin.studio.Action
public class Action
The class that represents an action in the admin studio environment.
An action can be rendered in a number of ways, for example, a toolbar
button. The action can also be retrieved on the client side, using
actionManager.js in the editor framework.
| Constructor Summary | |
|---|---|
Action(String id)
A constructor that sets an ID. |
|
Action(String id,
String title)
A constructor that sets an ID and title. |
|
Action(String id,
String title,
String description)
A constructor that sets an ID, title and description. |
|
| Method Summary | |
|---|---|
void |
addComponentId(String compId)
For internal use. |
List |
getComponents()
For internal use. |
String |
getDescription()
Gets the action description (the tooltip). |
String |
getId()
Gets the action ID. |
String |
getTitle()
Gets the action title. |
boolean |
isClientAction()
Indicates whether action handling is performed on the client side. |
boolean |
isEnabled()
Indicates whether the action is enabled. |
void |
setClientAction()
Sets this action to be a client action. |
void |
setDescription(String description)
Sets a description for the action. |
void |
setEnabled(boolean isEnabled)
Enables or disables the action. |
void |
setTitle(String title)
Sets the action title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Action(String id,
String title,
String description)
id - action IDtitle - a title for components related to the actiondescription - the tooltip for the action
public Action(String id,
String title)
id - action IDtitle - a title for components related to the actionpublic Action(String id)
id - an action ID| Method Detail |
|---|
public void setClientAction()
doMyAction, where myAction is the action ID.
public boolean isClientAction()
true if this is a client action,
false if notpublic void setDescription(String description)
description - a tooltip for the actionpublic String getDescription()
public void setEnabled(boolean isEnabled)
isEnabled - true to enable the action,
false to disable itpublic boolean isEnabled()
true if this action is enabled,
false if it is disabledpublic String getId()
public String getTitle()
public List getComponents()
public void addComponentId(String compId)
compId - the component IDpublic void setTitle(String title)
title - the action title| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.40 Enterprise Portal (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||