|
|||||||||
| Home >> All >> [ myComponents overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
myComponents
Class myButtonGroup

java.lang.Objectjavax.swing.ButtonGroup
myComponents.myButtonGroup
- All Implemented Interfaces:
- java.io.Serializable
- public class myButtonGroup
- extends javax.swing.ButtonGroup
- implements java.io.Serializable
- extends javax.swing.ButtonGroup
| Field Summary | |
protected java.util.Vector |
buttons
|
(package private) javax.swing.ButtonModel |
selection
The current choice. |
| Fields inherited from class javax.swing.ButtonGroup |
|
| Constructor Summary | |
myButtonGroup()
Creates a new ButtonGroup. |
|
| Method Summary | |
void |
add(javax.swing.AbstractButton b)
Adds the button to the group. |
int |
getButtonCount()
Returns the number of buttons in the group. |
java.util.Enumeration |
getElements()
Return all the buttons that are participating in this group. |
javax.swing.ButtonModel |
getSelection()
Return the selected button model. |
boolean |
isSelected(javax.swing.ButtonModel m)
Returns the selected value for the button. |
void |
remove(javax.swing.AbstractButton b)
Removes the button from the group. |
void |
setSelected(javax.swing.ButtonModel m,
boolean b)
Sets the selected value for the button. |
| Methods inherited from class javax.swing.ButtonGroup |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
buttons
protected java.util.Vector buttons
selection
javax.swing.ButtonModel selection
- The current choice.
| Constructor Detail |
myButtonGroup
public myButtonGroup()
- Creates a new ButtonGroup.
| Method Detail |
add
public void add(javax.swing.AbstractButton b)
- Adds the button to the group.
remove
public void remove(javax.swing.AbstractButton b)
- Removes the button from the group.
getElements
public java.util.Enumeration getElements()
- Return all the buttons that are participating in
this group.
getSelection
public javax.swing.ButtonModel getSelection()
- Return the selected button model.
setSelected
public void setSelected(javax.swing.ButtonModel m, boolean b)
- Sets the selected value for the button.
isSelected
public boolean isSelected(javax.swing.ButtonModel m)
- Returns the selected value for the button.
getButtonCount
public int getButtonCount()
- Returns the number of buttons in the group.
|
|||||||||
| Home >> All >> [ myComponents overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC