org.siebengeisslein.pgui
Class PMenu

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.pgui.PComponent<component,UserScopeDataType>
          extended by org.siebengeisslein.pgui.AbstractPContainer<component,Contained,UserScopeDataType>
              extended by org.siebengeisslein.pgui.PublicContainer<javax.swing.JMenu,PMenuItem,UserScopeData>
                  extended by org.siebengeisslein.pgui.PMenu
All Implemented Interfaces:
java.lang.Cloneable, CloneAware, Instrumented, MergeAware<PComponent>, Named

public class PMenu
extends PublicContainer<javax.swing.JMenu,PMenuItem,UserScopeData>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.siebengeisslein.pgui.PublicContainer
PublicContainer.PConstraintComponentEntry
 
Nested classes/interfaces inherited from class org.siebengeisslein.pgui.AbstractPContainer
AbstractPContainer.PComponentEntry
 
Constructor Summary
PMenu(PString label)
           
PMenu(java.lang.String label)
           
 
Method Summary
 PMenuItem add(PAction action)
           
 PMenu clone(CloneHelper helper)
           
protected  javax.swing.JMenu createComponent()
          Create and initialize the component.
protected  UserScopeData createUserScopeData()
           
protected  java.awt.Container getContainer()
           
 PString getLabel()
           
protected  int getNumSwingComponents()
           
 
Methods inherited from class org.siebengeisslein.pgui.PublicContainer
add, add, getComponent, getComponentAt, getComponentConstraints, getComponentConstraints, getComponentCount, getPComponentFor, merge, remove, remove, setComponentConstraints
 
Methods inherited from class org.siebengeisslein.pgui.AbstractPContainer
add, contains, getComponentEntry, getComponents, getLayout, initChangeListener, isEmpty, onChange, onComponentListChange, replaceMerged, setLayout
 
Methods inherited from class org.siebengeisslein.pgui.PComponent
addFocusListener, addMouseListener, addMouseMotionListener, addPChangeListener, fireChangeEvent, getComponent, getComponent, getComponentId, getName, getRefChangeListener, getUserData, initTransient, isModified, onCreateJComponent, repaint, 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

PMenu

public PMenu(java.lang.String label)

PMenu

public PMenu(PString label)
Method Detail

createComponent

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

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

getContainer

protected java.awt.Container getContainer()
Specified by:
getContainer in class AbstractPContainer<javax.swing.JMenu,PMenuItem,UserScopeData>

getNumSwingComponents

protected int getNumSwingComponents()
Overrides:
getNumSwingComponents in class AbstractPContainer<javax.swing.JMenu,PMenuItem,UserScopeData>

add

public PMenuItem add(PAction action)

getLabel

public PString getLabel()

clone

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

createUserScopeData

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