|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.EventValidationComponent
com.sapportals.htmlb.toolbar.ToolbarButton
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
ToolbarButton(String id)
creates a toolbar button with a specific id |
|
ToolbarButton(String id,
String text)
creates a toolbar button with a specific id and text |
|
| Method Summary | |
boolean |
getEnabled()
Deprecated. returns the enabling state for the button |
String |
getImageAlt()
|
String |
getOnClick()
get the event name that is fired when the user clicks on this button |
String |
getOnClientClick()
get the JavaScript fragment that is executed on the client side if the user clicks on the button |
String |
getText()
returns the text for the buton |
com.sapportals.htmlb.enum.ForcedTextDirection |
getTextDirection()
Gets the text direction for the component |
String |
getTooltip()
returns the tooltip for the buton |
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
String |
getWidth()
returns the width for the buton |
void |
setImageAlt(String imageAlt)
|
void |
setOnClick(String onClick)
set the event name that is fired when the user clicks on this button |
void |
setOnClientClick(String onClientClick)
set a Javascript fragment that is executed when the user clicks on this button |
void |
setText(String text)
sets the text for the button |
void |
setTextDirection(com.sapportals.htmlb.enum.ForcedTextDirection textDirection)
Sets the text direction for the component |
void |
setTooltip(String tooltip)
sets the tooltip for the button |
void |
setWidth(String width)
sets the width for the button |
| Methods inherited from class com.sapportals.htmlb.EventValidationComponent |
getAllValidators, getClientEvent, getClientEventMap, getErrorText, getServerEvent, getServerEventMap, getValidator, isDisabled, isEnabled, isRequiresValidation, renderJavascriptInterface, setClientEvent, setDisabled, setEnabled, setErrorText, setRequiresValidation, setServerEvent, setValidator |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public ToolbarButton(String id)
id - the id for this toolbar button
public ToolbarButton(String id,
String text)
id - the ID for this toolbar buttontext - the text for this toolbar button| Method Detail |
public String getText()
public void setText(String text)
text - the button textpublic String getTooltip()
public void setTooltip(String tooltip)
public String getWidth()
public void setWidth(String width)
width - the button widthpublic boolean getEnabled()
public String getOnClick()
public void setOnClick(String onClick)
onClick - the name of the eventpublic String getOnClientClick()
public void setOnClientClick(String onClientClick)
onClientClick - the Javascriptpublic String getUI()
getUI in class Componentpublic String getImageAlt()
public void setImageAlt(String imageAlt)
public com.sapportals.htmlb.enum.ForcedTextDirection getTextDirection()
public void setTextDirection(com.sapportals.htmlb.enum.ForcedTextDirection textDirection)
textDirection - com.sapportals.htmlb.enum.ForcedTextDirection
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||