|
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.Container
com.sapportals.htmlb.StatefulButtonGroupBase
com.sapportals.htmlb.RadioButtonGroup
Checkboxes grouped together.
| Field Summary | |
static String |
UI_ID
|
static int |
VAR_BEGIN
|
static int |
VAR_BEGIN_ITEM
|
static int |
VAR_END
|
static int |
VAR_END_ITEM
|
| Fields inherited from class com.sapportals.htmlb.Container |
elements |
| Constructor Summary | |
RadioButtonGroup(String name)
create new group wih name |
|
| Method Summary | |
Component |
addComponent(Component component)
Add a component to this container. |
Component |
addComponent(Component component,
String key)
Add component to this container. |
RadioButton |
addItem(String key)
Add Item without text |
RadioButton |
addItem(String key,
String text)
Add Item with text to be displayed and according access key. |
String |
getAccessibilityDescription()
get the semantical description of the component in it's applicationcontext used by screenreaders |
int |
getColumnCount()
Get number of columns. |
StatefulButtonBase |
getComponentForKey(String key)
Get inner component with given key. |
int |
getCurrentItem()
Get current item. |
String |
getOnClick()
get the event name |
RadioButton |
getRadioButtonForKey(String key)
Get RadioButton in this group with specified key |
String |
getSelection()
Get the selected Items key |
String |
getTextForKey(String key)
Get Text of inner component with given key. |
String |
getUI()
Get String specifier for this component. |
AbstractDataType |
getValueAsDataType()
|
CellVAlign |
getVerticalAlignRbColumn()
Deprecated. get the vertical alignment of radiobutton column column of the radio button group. |
CellVAlign |
getVerticalAlignTextColumn()
Deprecated. get the vertical alignment of text/component column of the radio button group. |
protected void |
initFromPageContext(IPageContext pc,
String baseId)
Init from page context. |
void |
remove(String key)
Remove component by key. |
void |
setAccessibilityDescription(String accessibilityDescription)
sets the sematical description for the component in it's applicationcontext used by screenreaders |
void |
setColumnCount(int columnCount)
Set number of columns for rendering. |
void |
setCurrentItem(int currentItem)
Set current item. |
void |
setOnClick(String onClick)
set the event name that is fired when the user clicks on this button |
void |
setSelection(String key)
Set key of RadioButton that should be rendered as selected. |
void |
setVerticalAlign(CellVAlign radioButtonColumn,
CellVAlign textColumn)
Deprecated. set the vertical alignment of the radiobutton column and the text/component column of the radio button group. |
| Methods inherited from class com.sapportals.htmlb.Container |
addRawText, addText, getChildCount, iterator, preRender, removeComponent, render |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromShortId, initializeFromId, isJsObjectNeeded, 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
public static final int VAR_BEGIN
public static final int VAR_END
public static final int VAR_BEGIN_ITEM
public static final int VAR_END_ITEM
| Constructor Detail |
public RadioButtonGroup(String name)
| Method Detail |
public RadioButton addItem(String key)
public RadioButton getRadioButtonForKey(String key)
public void setSelection(String key)
key - of RadioButton which should be selectedpublic String getSelection()
public RadioButton addItem(String key,
String text)
public Component addComponent(Component component,
String key)
component - the component to addkey - component keypublic Component addComponent(Component component)
addComponent in class Containercomponent - the component to add
addComponent(Component, String)public String getOnClick()
public void setOnClick(String onClick)
onClick - the name of the eventpublic String getUI()
getUI in class Component
protected void initFromPageContext(IPageContext pc,
String baseId)
initFromPageContext in class Componentpc - IPageContextbaseId - the prefix used for the component. (The
result of a former RenderUtil.getIdForForm(rc, c);)addComponent(Component, String)public AbstractDataType getValueAsDataType()
getValueAsDataType in interface IUserDataComponent
public void setVerticalAlign(CellVAlign radioButtonColumn,
CellVAlign textColumn)
radioButtonColumn - CellVAlign vertical align of the radio button columntextColumn - CellVAlign vertical align of the text/component columnpublic CellVAlign getVerticalAlignTextColumn()
public CellVAlign getVerticalAlignRbColumn()
public String getAccessibilityDescription()
public void setAccessibilityDescription(String accessibilityDescription)
accessibilityDescription - description text
public String getTextForKey(String key)
key - String specifying the inner component keypublic StatefulButtonBase getComponentForKey(String key)
key - String specifying the inner component keypublic int getColumnCount()
public void setColumnCount(int columnCount)
columnCount - specify number of columnspublic void remove(String key)
key - Key of component to removepublic int getCurrentItem()
public void setCurrentItem(int currentItem)
currentItem - int
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||