|
SAP NetWeaver 2004S SPS 10 | |||||||||
| 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.StatefulButtonBase
Base class for RadioButtons and Checkboxes
Copyright 2004 SAP AG
| Field Summary | |
static int |
VAR_CONTENT
|
static int |
VAR_CONTENTFORGROUP
|
static int |
VAR_ELEMENT
|
static int |
VAR_ELEMENTFORGROUP
|
| Constructor Summary | |
StatefulButtonBase()
|
|
| Method Summary | |
Component |
getElement()
get arbitrary component which should be rendered together with checkbox |
String |
getKey()
|
String |
getText()
Gets current element as text. |
String |
getTooltip()
|
boolean |
hasValidTooltip()
check for valid tooltip (i.e. not null and length > 0) |
boolean |
isEncode()
|
void |
setElement(Component component)
set arbitrary component as element to be rendered together with checkbox |
void |
setEncode(boolean encode)
|
void |
setKey(String key)
|
void |
setText(String text)
Set text for checkbox. |
void |
setTooltip(String tooltip)
|
String |
toString()
|
| 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, getUI, 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, wait, wait, wait |
| Field Detail |
public static final int VAR_ELEMENT
public static final int VAR_CONTENT
public static final int VAR_ELEMENTFORGROUP
public static final int VAR_CONTENTFORGROUP
| Constructor Detail |
public StatefulButtonBase()
| Method Detail |
public boolean hasValidTooltip()
public boolean isEncode()
public void setEncode(boolean encode)
public String getKey()
public void setKey(String key)
public String getTooltip()
public void setTooltip(String tooltip)
public String getText()
public void setText(String text)
text - for checkboxpublic void setElement(Component component)
component - Component to render with checkboxpublic Component getElement()
public String toString()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||