thinwire.ui
Class RadioButton.Group
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<RadioButton>
thinwire.ui.RadioButton.Group
- All Implemented Interfaces:
- java.lang.Iterable<RadioButton>, java.util.Collection<RadioButton>, java.util.List<RadioButton>
- Enclosing class:
- RadioButton
public static class RadioButton.Group
- extends java.util.AbstractList<RadioButton>
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
RadioButton.Group
public RadioButton.Group()
add
public void add(int index,
RadioButton o)
- Specified by:
add
in interface java.util.List<RadioButton>
- Overrides:
add
in class java.util.AbstractList<RadioButton>
get
public RadioButton get(int index)
- Specified by:
get
in interface java.util.List<RadioButton>
- Specified by:
get
in class java.util.AbstractList<RadioButton>
set
public RadioButton set(int index,
RadioButton o)
- Specified by:
set
in interface java.util.List<RadioButton>
- Overrides:
set
in class java.util.AbstractList<RadioButton>
remove
public RadioButton remove(int index)
- Specified by:
remove
in interface java.util.List<RadioButton>
- Overrides:
remove
in class java.util.AbstractList<RadioButton>
size
public int size()
- Specified by:
size
in interface java.util.Collection<RadioButton>
- Specified by:
size
in interface java.util.List<RadioButton>
- Specified by:
size
in class java.util.AbstractCollection<RadioButton>
addPropertyChangeListener
public final void addPropertyChangeListener(java.lang.String propertyName,
PropertyChangeListener listener)
- Adds a PropertyChangeListener to each radio button component in the group.
- Parameters:
propertyName
- listener
-
addPropertyChangeListener
public final void addPropertyChangeListener(java.lang.String[] propertyNames,
PropertyChangeListener listener)
- Adds a PropertyChangeListener to each radio button component in the group.
- Parameters:
propertyNames
- listener
-
removePropertyChangeListener
public final void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a preexisting PropertyChangeListener from each component in the group.
- Parameters:
listener
- the listener to remove
addActionListener
public final void addActionListener(java.lang.String action,
ActionListener listener)
addActionListener
public final void addActionListener(java.lang.String[] actions,
ActionListener listener)
removeActionListener
public final void removeActionListener(ActionListener listener)
fireAction
public final void fireAction(ActionEvent ev)
fireAction
public final void fireAction(java.lang.String action)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean visible)
getUserObject
public java.lang.Object getUserObject()
setUserObject
public void setUserObject(java.lang.Object userObject)
getChecked
public RadioButton getChecked()
- Returns:
setChecked
public void setChecked(RadioButton rb)
- Parameters:
rb
-