|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.gui.AbstractComponent com.groiss.gui.component.RadioGroup
public class RadioGroup
a group of radio buttons
Field Summary | |
---|---|
protected java.util.List<RadioButton> |
radios
|
Fields inherited from class com.groiss.gui.AbstractComponent |
---|
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, outputter, parent, parentElem, READONLY, root, viewMode |
Constructor Summary | |
---|---|
RadioGroup()
|
|
RadioGroup(RadioButton rb)
|
Method Summary | |
---|---|
void |
addRadioButton(RadioButton rb)
|
java.lang.String |
getAttribute(java.lang.String attrname)
returs the value of an attribute |
java.lang.Object |
getContent()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
the name of the group is defined in the buttons. |
java.util.List<RadioButton> |
getRadioButtons()
|
java.lang.String |
getSelection()
|
Component |
setAttribute(java.lang.String attrname,
java.lang.String value)
sets the attribute to the component |
void |
setChecked(java.lang.String value)
|
void |
setContent(java.lang.Object o)
sets the content of the component |
java.lang.String |
show()
method for rendering the component as string |
Methods inherited from class com.groiss.gui.AbstractComponent |
---|
clone, create, getActionListener, getBrowserMode, getLabel, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List<RadioButton> radios
Constructor Detail |
---|
public RadioGroup()
public RadioGroup(RadioButton rb)
Method Detail |
---|
public java.lang.String show()
Component
show
in interface Component
show
in class AbstractComponent
public java.lang.String getName()
getName
in interface Component
getName
in class AbstractComponent
public java.lang.String getId()
getId
in interface Component
getId
in class AbstractComponent
public void addRadioButton(RadioButton rb)
public java.util.List<RadioButton> getRadioButtons()
public void setChecked(java.lang.String value)
public java.lang.String getSelection()
public void setContent(java.lang.Object o)
AbstractComponent
setContent
in interface Component
setContent
in class AbstractComponent
o
- any object where the string representation is used for renderingpublic java.lang.Object getContent()
getContent
in interface Component
getContent
in class AbstractComponent
public java.lang.String getAttribute(java.lang.String attrname)
AbstractComponent
getAttribute
in interface Component
getAttribute
in class AbstractComponent
attrname
- - the name of the attribute
public Component setAttribute(java.lang.String attrname, java.lang.String value)
AbstractComponent
setAttribute
in interface Component
setAttribute
in class AbstractComponent
attrname
- - the name of the attributevalue
- - the value of the attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |