|
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
com.sapportals.htmlb.RadioButton
Basic Checkbox Control.
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Fields inherited from class com.sapportals.htmlb.StatefulButtonBase |
VAR_CONTENT, VAR_CONTENTFORGROUP, VAR_ELEMENT, VAR_ELEMENTFORGROUP |
| Constructor Summary | |
protected |
RadioButton(RadioButtonGroup parent)
Create RadioButton. |
protected |
RadioButton(RadioButtonGroup parent,
String key)
create RadioButton with key |
| Method Summary | |
RadioButtonGroup |
getRadioButtonGroup()
Get RadioButton group to which this RadioButton belongs. |
ForcedTextDirection |
getTextDirection()
Gets the text direction for the component |
String |
getUI()
Get String identifier for this component. |
AbstractDataType |
getValueAsDataType()
Get select state as AbstractDataType |
protected void |
initFromPageContext(IPageContext pc,
String baseId)
internal method to set users selection to the appropriate properties of the checkbox |
boolean |
isLabeled()
checks if a label has been assigned to this component. |
boolean |
isSelected()
Check select state. |
void |
render(int selector,
IPageContext rendererContext)
render an aspect of the component using the current context. |
void |
setLabeled(boolean isLabeled)
notify the component that a label has been assigned to it. |
void |
setSelected(boolean selected)
Set select state. |
void |
setTextDirection(ForcedTextDirection textDirection)
Sets the text direction for the component |
| Methods inherited from class com.sapportals.htmlb.StatefulButtonBase |
getElement, getKey, getText, getTooltip, hasValidTooltip, isEncode, setElement, setEncode, setKey, setText, setTooltip, 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, 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 String UI_ID
| Constructor Detail |
protected RadioButton(RadioButtonGroup parent,
String key)
parent - the group to which this RadioButton belongskey - the key for this radioButton.protected RadioButton(RadioButtonGroup parent)
| Method Detail |
public RadioButtonGroup getRadioButtonGroup()
public String getUI()
getUI in class Componentpublic boolean isSelected()
public void setSelected(boolean selected)
selected - boolean specifying select state
protected void initFromPageContext(IPageContext pc,
String baseId)
initFromPageContext in class Componentpc - the pagecontext from which to read the databaseId - the prefix for the parameter keyspublic AbstractDataType getValueAsDataType()
getValueAsDataType in interface IUserDataComponent
public void render(int selector,
IPageContext rendererContext)
selector - the aspect to render.rendererContext - the context in which to render.public void setLabeled(boolean isLabeled)
LabeledComponent
setLabeled in interface LabeledComponentpublic boolean isLabeled()
LabeledComponent
isLabeled in interface LabeledComponentpublic ForcedTextDirection getTextDirection()
public void setTextDirection(ForcedTextDirection textDirection)
textDirection - com.sapportals.htmlb.enum.ForcedTextDirection
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||