org.siebengeisslein.pgui
Class PValidated

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

public class PValidated
extends PComponent<javax.swing.JPanel,UserScopeData>


Constructor Summary
PValidated(PComponent component, Validator validator)
           
 
Method Summary
 CloneAware clone(CloneHelper helper)
           
protected  javax.swing.JPanel createComponent()
          Create and initialize the component.
protected  UserScopeData createUserScopeData()
           
protected  void onChange()
           
 
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

PValidated

public PValidated(PComponent component,
                  Validator validator)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

createComponent

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

Specified by:
createComponent in class PComponent<javax.swing.JPanel,UserScopeData>

onChange

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

clone

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

createUserScopeData

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