org.siebengeisslein.pgui
Class PLabel
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pgui.PComponent<ComponentType,UserScopeDataType>
org.siebengeisslein.pgui.PJComponent<javax.swing.JLabel,UserScopeData>
org.siebengeisslein.pgui.PLabel
- All Implemented Interfaces:
- java.lang.Cloneable, CloneAware, Instrumented, MergeAware<PComponent>, Named
public class PLabel
- extends PJComponent<javax.swing.JLabel,UserScopeData>
| 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 |
PLabel
public PLabel()
PLabel
public PLabel(java.lang.String text)
PLabel
public PLabel(Persistent value)
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>