thinwire.ui
Class RadioButton.Group

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<RadioButton>
          extended by 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>


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RadioButton.Group()
           
 
Method Summary
 void add(int index, RadioButton o)
           
 void addActionListener(java.lang.String[] actions, ActionListener listener)
           
 void addActionListener(java.lang.String action, ActionListener listener)
           
 void addPropertyChangeListener(java.lang.String[] propertyNames, PropertyChangeListener listener)
          Adds a PropertyChangeListener to each radio button component in the group.
 void addPropertyChangeListener(java.lang.String propertyName, PropertyChangeListener listener)
          Adds a PropertyChangeListener to each radio button component in the group.
 void fireAction(ActionEvent ev)
           
 void fireAction(java.lang.String action)
           
 RadioButton get(int index)
           
 RadioButton getChecked()
           
 java.lang.Object getUserObject()
           
 boolean isEnabled()
           
 boolean isVisible()
           
 RadioButton remove(int index)
           
 void removeActionListener(ActionListener listener)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes a preexisting PropertyChangeListener from each component in the group.
 RadioButton set(int index, RadioButton o)
           
 void setChecked(RadioButton rb)
           
 void setEnabled(boolean enabled)
           
 void setUserObject(java.lang.Object userObject)
           
 void setVisible(boolean visible)
           
 int size()
           
 
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
 

Constructor Detail

RadioButton.Group

public RadioButton.Group()
Method Detail

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 -


ThinWire® is a registered of Custom Credit Systems  Copyright © 2007 All rights reserved.
ThinWire_is_Open_Source_under_the_terms_of_the_LGPLv2.1 SourceForge.net_Project_Page java.net_Member Support_ThinWire,_Digg_our_Story