|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--objectivehtml.oms.OMSObject
|
+--objectivehtml.htmlwidget.HtmlRadioButtonGroup
This class holds all the radio buttons of a radio button group. Through this class you can access all the other radio buttons of the same group.
Radio buttons can be synchronized/unsynchronized. If synchronized (default) then when one object is selected then all other objects become unchecked. If unsychronized then all objects operate in isolation.
| Constructor Summary | |
protected |
HtmlRadioButtonGroup(java.lang.String sGroupName)
Constructs a HtmlRadioButtonGroup with the specified group name sGroupName. |
| Method Summary | |
protected void |
addRadioButton(HtmlRadioButton objRadioButton)
Adds a new HtmlRadioButton to the group. |
java.lang.String |
getGroupName()
Returns the group name. |
java.util.Collection |
getRadioButtons()
Returns a shallow copy of the list of radio buttons that belong in this group. |
int |
getRadioButtonsCount()
Returns the number of radio buttons in the group. |
boolean |
isSynchronized()
Returns whether the radio buttons should be sychronized. |
protected void |
removeRadioButton(HtmlRadioButton objRadioButton)
Removes a new HtmlRadioButton to the group. |
void |
setSynchronized(boolean bSynchronized)
Sets whether the radio buttons should be sychronized. |
| Methods inherited from class objectivehtml.oms.OMSObject |
compareClasses, connect, disconnect, emit, isAlive, setAlive, signal, slot, slot |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected HtmlRadioButtonGroup(java.lang.String sGroupName)
objParent - the parent of this widget, the parent must
be a container widget otherwise an E_USER_ERROR
will be raised.| Method Detail |
public java.lang.String getGroupName()
public boolean isSynchronized()
setSynchronized(boolean)public void setSynchronized(boolean bSynchronized)
bSynchronized - true if sychronized, false otherwiseisSynchronized()public int getRadioButtonsCount()
public java.util.Collection getRadioButtons()
protected void addRadioButton(HtmlRadioButton objRadioButton)
objRadioButton - the new radio button to addprotected void removeRadioButton(HtmlRadioButton objRadioButton)
objRadioButton - the new radio button to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||