org.siebengeisslein.pgui
Class PRadioButton

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.pgui.PComponent<javax.swing.JRadioButton,RadioUserData>
          extended by org.siebengeisslein.pgui.PRadioButton
All Implemented Interfaces:
java.lang.Cloneable, CloneAware, Instrumented, MergeAware<PComponent>, Named

public class PRadioButton
extends PComponent<javax.swing.JRadioButton,RadioUserData>


Constructor Summary
PRadioButton(javax.swing.Action action)
           
 
Method Summary
 PRadioButton clone(CloneHelper helper)
           
protected  javax.swing.JRadioButton createComponent()
          Create and initialize the component.
protected  RadioUserData createUserScopeData()
           
 javax.swing.Action getAction()
           
 boolean isSelected()
           
protected  void onChange()
           
 void setSelected(boolean selected)
           
 
Methods inherited from class org.siebengeisslein.pgui.PComponent
addFocusListener, addMouseListener, addMouseMotionListener, addPChangeListener, fireChangeEvent, getComponent, getComponent, getComponentId, getName, getRefChangeListener, getUserData, initChangeListener, initTransient, isModified, merge, onCreateJComponent, repaint, replaceMerged, setComponentId, setName, showPopup, swingDo, validate
 
Methods inherited from class org.siebengeisslein.client.Persistent
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PRadioButton

public PRadioButton(javax.swing.Action action)
Method Detail

onChange

protected void onChange()
Overrides:
onChange in class PComponent<javax.swing.JRadioButton,RadioUserData>

createComponent

protected javax.swing.JRadioButton createComponent()
Description copied from class: PComponent
Create and initialize the component.

Specified by:
createComponent in class PComponent<javax.swing.JRadioButton,RadioUserData>

setSelected

public void setSelected(boolean selected)

isSelected

public boolean isSelected()

getAction

public javax.swing.Action getAction()

clone

public PRadioButton clone(CloneHelper helper)
                   throws java.lang.CloneNotSupportedException
Specified by:
clone in interface CloneAware
Overrides:
clone in class PComponent<javax.swing.JRadioButton,RadioUserData>
Throws:
java.lang.CloneNotSupportedException

createUserScopeData

protected RadioUserData createUserScopeData()
Specified by:
createUserScopeData in class PComponent<javax.swing.JRadioButton,RadioUserData>