org.siebengeisslein.pgui
Class PLabel

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.pgui.PComponent<ComponentType,UserScopeDataType>
          extended by org.siebengeisslein.pgui.PJComponent<javax.swing.JLabel,UserScopeData>
              extended by org.siebengeisslein.pgui.PLabel
All Implemented Interfaces:
java.lang.Cloneable, CloneAware, Instrumented, MergeAware<PComponent>, Named

public class PLabel
extends PJComponent<javax.swing.JLabel,UserScopeData>


Constructor Summary
PLabel()
           
PLabel(Persistent value)
           
PLabel(java.lang.String text)
           
 
Method Summary
 PLabel clone(CloneHelper helper)
           
protected  javax.swing.JLabel createComponent()
          Create and initialize the component.
protected  UserScopeData createUserScopeData()
           
 PImageIcon getIcon()
           
 PComponent getLabelFor()
           
 Persistent getValue()
           
 void merge(PComponent obj, MergeContext helper)
           
protected  void onChange()
           
 void setIcon(PImageIcon icon)
           
 void setLabelFor(PComponent component)
           
 void setValue(Persistent value)
           
 
Methods inherited from class org.siebengeisslein.pgui.PJComponent
getBorder, getForeground, getMinimumSize, getPreferredSize, requestFocus, revalidate, setBorder, setForeground, setMinimumSize, setPreferredSize, setTransferHandler
 
Methods inherited from class org.siebengeisslein.pgui.PComponent
addFocusListener, addMouseListener, addMouseMotionListener, addPChangeListener, fireChangeEvent, getComponent, getComponent, getComponentId, getName, getRefChangeListener, getUserData, initChangeListener, initTransient, isModified, 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

PLabel

public PLabel()

PLabel

public PLabel(java.lang.String text)

PLabel

public PLabel(Persistent value)
Method Detail

createComponent

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

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

onChange

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

setValue

public void setValue(Persistent value)

getValue

public Persistent getValue()

setLabelFor

public void setLabelFor(PComponent component)

getLabelFor

public PComponent getLabelFor()

getIcon

public PImageIcon getIcon()

setIcon

public void setIcon(PImageIcon icon)

clone

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

merge

public void merge(PComponent obj,
                  MergeContext helper)
Specified by:
merge in interface MergeAware<PComponent>
Overrides:
merge in class PJComponent<javax.swing.JLabel,UserScopeData>

createUserScopeData

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