|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.uicommand.UIMenuCommand
| Field Summary |
| Constructor Summary | |
UIMenuCommand(IUIBaseCommand command)
|
|
UIMenuCommand(IUIBaseCommand command,
boolean mandatory)
|
|
UIMenuCommand(IUIBaseCommand command,
boolean mandatory,
boolean defaultCommand)
|
|
| Method Summary | |
IUIBaseCommand |
getCommand()
Gets the newInstance attribute of the UIRatingCommand object |
Component |
getComponent()
|
Properties |
getConfigurationProperties()
Gets the configurationProperties attribute of the IUIBaseCommand object |
String |
getLabel()
Gets the label attribute of the UICopyCommand object |
Hashtable |
getParameters()
Gets the command parameters |
List |
getReplaceCommands()
gets the list of commands which will be ignored when the command is executable |
String |
getText(TextKey key)
Gets the text for a givven text key |
String |
getTooltip()
Gets the tooltip attribute of the UICopyCommand object |
boolean |
isDefault()
|
boolean |
isEnabled()
Gets the enabled attribute of the IUIMenuCommand object |
boolean |
isExpanded()
Gets the expanded attribute of the IUIMenuCommand object |
boolean |
isIncluded()
Gets the include attribute of the IUIMenuCommand object |
boolean |
isMandatory()
Gets the mandatory attribute of the IUIMenuCommand object |
void |
setConfigurationProperties(Properties properties)
|
void |
setDefault(boolean flag)
|
void |
setEnabled(boolean enabled)
Sets the enabled attribute of the IUIMenuCommand object |
void |
setExpanded(boolean expanded)
Sets the expanded attribute of the IUIMenuCommand object |
void |
setIncluded(boolean included)
Sets the include attribute of the UIMenuCommand object |
void |
setLabel(String label)
Sets the label attribute of the UIGroupCommand object |
void |
setLabelBundleKey(String groupLabel)
Sets the labelBundleKey attribute of the IUIBaseCommand object |
void |
setMandatory(boolean mandatory)
Sets the mandatory attribute of the IUIMenuCommand object |
void |
setParameters(Hashtable parameters)
Sets parameters for the command. |
void |
setProxy(AbstractProxyControl proxy)
Sets the proxy attribute of the IUIBaseCommand object |
void |
setReplaceCommands(List replaceCommandsList)
set the list of commands which will be ignored when the command is executable |
void |
setResource(IResource resource)
|
void |
setResourceBundle(ResourceBundles bundleFile)
|
void |
setResourceContext(IResourceContext context)
Sets the resourceContext attribute of the UIGroupCommand object |
void |
setTooltip(String tooltip)
Sets the tooltip attribute of the UIGroupCommand object |
void |
setTooltipBundleKey(String groupTooltip)
Sets the tooltipBundleKey attribute of the IUIBaseCommand object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIMenuCommand(IUIBaseCommand command)
public UIMenuCommand(IUIBaseCommand command,
boolean mandatory)
public UIMenuCommand(IUIBaseCommand command,
boolean mandatory,
boolean defaultCommand)
| Method Detail |
public void setResourceBundle(ResourceBundles bundleFile)
setResourceBundle in interface IUIBaseCommandbundleFile - The new resourceBundle valuepublic void setLabelBundleKey(String groupLabel)
IUIBaseCommand
setLabelBundleKey in interface IUIBaseCommandgroupLabel - The new labelBundleKey valuepublic void setTooltipBundleKey(String groupTooltip)
IUIBaseCommand
setTooltipBundleKey in interface IUIBaseCommandgroupTooltip - The new tooltipBundleKey valuepublic String getLabel()
public String getText(TextKey key)
IUIBaseCommand
getText in interface IUIBaseCommandkey - the input TextKey
public String getTooltip()
public Component getComponent()
getComponent in interface IUIBaseCommandpublic void setLabel(String label)
label - The new label valuepublic void setTooltip(String tooltip)
tooltip - The new tooltip valuepublic IUIBaseCommand getCommand()
getCommand in interface IUIMenuCommandpublic void setMandatory(boolean mandatory)
IUIMenuCommand
setMandatory in interface IUIMenuCommandmandatory - The new mandatory valuepublic boolean isMandatory()
IUIMenuCommand
isMandatory in interface IUIMenuCommandpublic void setConfigurationProperties(Properties properties)
setConfigurationProperties in interface IUIBaseCommandproperties - The new configurationProperties valuepublic Properties getConfigurationProperties()
IUIBaseCommand
getConfigurationProperties in interface IUIBaseCommandpublic void setEnabled(boolean enabled)
IUIMenuCommand
setEnabled in interface IUIMenuCommandenabled - The new enabled valuepublic boolean isEnabled()
IUIMenuCommand
isEnabled in interface IUIMenuCommandpublic void setResource(IResource resource)
setResource in interface IUIBaseCommandresource - sets the resource the command shall operate onpublic void setProxy(AbstractProxyControl proxy)
IUIBaseCommand
setProxy in interface IUIBaseCommandproxy - The new proxy valuepublic void setResourceContext(IResourceContext context)
setResourceContext in interface IUIBaseCommandcontext - The new resourceContext valuepublic void setExpanded(boolean expanded)
setExpanded in interface IUIMenuCommandexpanded - The new expanded valuepublic boolean isExpanded()
isExpanded in interface IUIMenuCommandpublic List getReplaceCommands()
getReplaceCommands in interface IUIBaseCommandpublic void setReplaceCommands(List replaceCommandsList)
setReplaceCommands in interface IUIBaseCommandreplaceCommandsList - The new replaceCommands valuepublic void setParameters(Hashtable parameters)
setParameters in interface IUIBaseCommandpublic Hashtable getParameters()
getParameters in interface IUIBaseCommandpublic void setIncluded(boolean included)
setIncluded in interface IUIMenuCommandpublic boolean isIncluded()
isIncluded in interface IUIMenuCommandpublic boolean isDefault()
isDefault in interface IUIMenuCommandpublic void setDefault(boolean flag)
setDefault in interface IUIMenuCommand
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||