public abstract class P2DContainer extends FwkInfoBusMember implements P2DContainerInterface
Components added to a container are tracked in a list. The order of the list will define the components' front-to-back stacking order within the container. If no index is specified when adding a component to a container, it will be added to the end of the list (and hence to the bottom of the stacking order).
| Modifier and Type | Field and Description |
|---|---|
protected FwkArray |
components
The components in this container.
|
protected static FwkDescriptionInterface |
descriptor |
protected java.awt.event.MouseEvent |
lastMouseEvent |
protected javax.swing.event.EventListenerList |
listeners
The event listener list.
|
protected java.awt.geom.Point2D |
localMousePoint |
protected java.lang.Object |
LOCK
The locking object for component-tree and layout operations.
|
protected P2DContainerInterface |
parent |
protected boolean |
readingDOM |
protected boolean |
selectable |
static java.lang.String |
version |
infoBusMemberSupportchangeManager, properties, suspendChangeManagersourceauthor, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, icon, ICON, iconCount, iconKey, internetAddress, name, titleNameINFOBUS_SOURCEAUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME| Constructor and Description |
|---|
P2DContainer()
Constructs a new Container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContainerListener(P2DContainerListenerInterface listener)
Add a container listener.
|
void |
addFocusListener(java.awt.event.FocusListener l)
Adds a focus listener.
|
void |
addListener(java.lang.Class clazz,
java.util.EventListener listener)
Adds a order listener.
|
void |
addMouseListener(java.awt.event.MouseListener l)
Adds an MouseMotionListener.
|
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
Adds an MouseMotionListener.
|
void |
addOrderListener(P2DOrderListenerInterface l)
Adds a order listener.
|
P2DContainerInterface |
addP2D(P2DContainerInterface comp)
Adds the specified component to the end of this container.
|
P2DContainerInterface |
addP2D(P2DContainerInterface comp,
int index)
Adds the specified component to this container at the given
position.
|
P2DContainerInterface |
addP2D(java.lang.String name)
Adds the specified component to the end of this container.
|
P2DContainerInterface |
addP2D(java.lang.String name,
int index)
Adds the specified component to this container at the given
position.
|
protected P2DContainerInterface |
addP2DImpl(P2DContainerInterface comp,
java.lang.Object constraints,
int index)
Adds the specified component to this container at the specified
index.
|
void |
addRepaintListener(P2DRepaintListenerInterface listener)
Add a repaint listener.
|
protected void |
finalize()
Leave the info at the end of session.
|
protected void |
fireContainerAddedEvent(P2DContainerInterface container)
Fire a container add event.
|
protected void |
fireContainerRemovedEvent(P2DContainerInterface container)
Fire a container remove event.
|
void |
fireOrderEvent(boolean flag)
Fire an order event.
|
boolean |
getActive(P2DContainerInterface container)
Get the active flag.
|
P2DContainerInterface |
getActiveComponent(P2DContainerInterface container)
Get the active component.
|
void |
getAllArmedComponents(P2DContainerInterface container,
double x,
double y,
FwkArrayInterface arr)
return all armed component.
|
void |
getAllArmedComponents(P2DContainerInterface container,
java.awt.geom.Point2D p,
FwkArrayInterface arr)
return all armed component.
|
P2DContainerInterface |
getArmedComponent(double x,
double y)
return the armed component.
|
P2DContainerInterface |
getArmedComponent(java.awt.event.MouseEvent ev)
return the armed component.
|
FwkCommandInterface[] |
getCommands()
Get the commands of the component.
|
FwkCommandInterface[] |
getComponentCommands()
Get the commands of all components.
|
FwkArrayInterface |
getContainerListenerArray()
Get the array containing the container listeners.
|
static FwkDescriptionInterface |
getDescriptor() |
FwkArrayInterface |
getFocusListenerArray()
Get the array containing the focus listenres.
|
FwkArrayInterface |
getListenerArray(java.lang.Class clazz)
Get the array containing the order listeners.
|
FwkArrayInterface |
getMouseListenerArray()
Get the array containing the mouse motion listenres.
|
FwkArrayInterface |
getMouseMotionListenerArray()
Get the array containing the mouse motion listenres.
|
FwkArrayInterface |
getOrderListenerArray()
Get the array containing the order listeners.
|
P2DContainerInterface[] |
getP2D(java.lang.Class clazz)
Retrieves the specified component class from this container.
|
P2DContainerInterface[] |
getP2D(java.lang.Class clazz,
java.lang.String name)
Retrieves the specified component class from this container.
|
P2DContainerInterface |
getP2D(int index)
Gets the component, specified by
index,
from this container. |
FwkArrayInterface |
getP2DComponentArray()
Gets all the components in this container.
|
FwkArrayInterface |
getP2DComponents()
Gets all the components in this container.
|
P2DContainerInterface |
getParentContainer()
Get the parent container of this component.
|
FwkArrayInterface |
getRepaintListenerArray()
Get the array containing the repaint listeners.
|
boolean |
getSelectable()
Get a boolean indicates whether the container is selectable.
|
java.lang.String |
getShortName()
Get the short name of the container.
|
java.lang.Object |
getTreeLock()
Gets the locking object for component-tree and layout
Gets this component's locking object (the object that owns the thread
sychronization monitor) for component-tree and layout
operations.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
openPopupMenu(java.awt.event.MouseEvent ev)
Open the popup menu.
|
abstract void |
processFocusEvent(java.awt.event.FocusEvent e)
Process the focus event.
|
void |
processMouseEvent(java.awt.event.MouseEvent e)
Process the mouse event.
|
java.lang.Object |
readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
Read a construtor dom node.
|
void |
readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
Read from DOM
|
boolean |
readingDOM()
Get the DOM reading flag.
|
void |
readingDOM(boolean flag)
Set a flag that the object is currently reading the DOM.
|
void |
release()
Release object.
|
void |
removeAllP2D()
Removes all the components from this container.
|
void |
removeContainerListener(P2DContainerListenerInterface listener)
Remove a container listener.
|
void |
removeFocusListener(java.awt.event.FocusListener l)
Removes an focus listener.
|
void |
removeListener(java.lang.Class clazz,
java.util.EventListener listener)
Removes an order listener.
|
void |
removeMouseListener(java.awt.event.MouseListener l)
Removes an MouseMotionListener.
|
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
Removes an MouseMotionListener.
|
void |
removeOrderListener(P2DOrderListenerInterface l)
Removes an order listener.
|
P2DContainerInterface |
removeP2D(int index)
Removes the component, specified by
index,
from this container. |
P2DContainerInterface |
removeP2D(P2DContainerInterface comp)
Removes the specified component from this container.
|
void |
removeRepaintListener(P2DRepaintListenerInterface listener)
Remove a repaint listener.
|
void |
repaint()
Repaint the container.
|
java.awt.event.MouseEvent |
restoreLastMouseEvent()
Restore last mouse event.
|
void |
revalidate(boolean recursive)
Revalidate the container.
|
void |
saveLastMouseEvent(java.awt.event.MouseEvent ev)
Save the last mouse event.
|
void |
setActive(P2DContainerInterface container,
boolean flag)
Activate the component.
|
void |
setActiveComponent(P2DContainerInterface container,
P2DContainerInterface component)
Set the active component.
|
void |
setParentContainer(P2DContainerInterface container)
Set the parent container of the component.
|
void |
setSelectable(boolean flag)
Set the container selectable.
|
void |
toBack()
Move this component to back inside the parent container.
|
void |
toBack(int index)
Move the component with the given index to the back (first array position).
|
void |
toBack(P2DContainerInterface container)
Move the given component to the back (first array position).
|
void |
toFront()
Move this component to front inside the parent container.
|
void |
toFront(int index)
Move the component with the given index to the front (last array position).
|
void |
toFront(P2DContainerInterface container)
Move the given component to the front (last array position).
|
org.w3c.dom.Element |
writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write a construtor dom node.
|
org.w3c.dom.Element |
writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
Write the container as child to the given DOM node.
|
boolean |
writeToXML(java.lang.String filename,
boolean validate)
Writes the canvas to an XML file.
|
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setInfoBusName, setMemberName, setNameaddDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManageraddCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommand, getCommands, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleNameaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEventsgetClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toStringgetNiceVersionclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitrestoreLocalMousePoint, saveLocalMousePoint, unregistergetInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberNamefireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManagergetCommands, getPersistentObjectNamesdestroyControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListenergetAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleNamegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringaddInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBusgetCompanypublic static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected java.awt.event.MouseEvent lastMouseEvent
protected java.awt.geom.Point2D localMousePoint
protected javax.swing.event.EventListenerList listeners
protected P2DContainerInterface parent
protected boolean selectable
protected boolean readingDOM
protected FwkArray components
#add(P2DContainerInterface),
#add(P2DContainerInterface, int),
#add(P2DContainerInterface, java.lang.Object),
#getComponents()protected final java.lang.Object LOCK
getTreeLock()public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class FwkInfoBusMemberpublic static FwkDescriptionInterface getDescriptor()
protected void finalize()
throws java.lang.Throwable
FwkInfoBusMemberfinalize in class FwkInfoBusMemberjava.lang.Throwablepublic void release()
release in interface FwkInterfacerelease in interface javax.infobus.DataItemrelease in class FwkItempublic final java.lang.Object getTreeLock()
getTreeLock in interface P2DContainerInterfacepublic FwkArrayInterface getP2DComponents()
getP2DComponents in interface P2DContainerInterfacepublic FwkArrayInterface getP2DComponentArray()
getP2DComponentArray in interface P2DContainerInterfacepublic P2DContainerInterface addP2D(P2DContainerInterface comp)
addP2D in interface P2DContainerInterfacecomp - the component to be added.public P2DContainerInterface addP2D(java.lang.String name, int index)
addP2D in interface P2DContainerInterfacename - the component's to be added.index - the position at which to insert the component,
or -1 to insert the component at the end.comp#remove,
#add(String)public P2DContainerInterface addP2D(java.lang.String name)
addP2D in interface P2DContainerInterfacename - The component's name. The component is found on InfoBus.public P2DContainerInterface addP2D(P2DContainerInterface comp, int index)
addP2D in interface P2DContainerInterfacecomp - the component to be added.index - the position at which to insert the component,
or -1 to insert the component at the end.comp#removeprotected P2DContainerInterface addP2DImpl(P2DContainerInterface comp, java.lang.Object constraints, int index)
This is the method to override if a program needs to track every add request to a container. An overriding method should usually include a call to the superclass's version of the method:
super.addImpl(comp, constraints, index)
comp - the component to be added.constraints - an object expressing layout contraints
for this component.index - the position in the container's list at which to
insert the component, where -1
means insert at the end.#add(P2DComponent),
#add(P2DComponent, int),
#add(P2DComponent, java.lang.Object)public P2DContainerInterface removeP2D(int index)
index,
from this container.removeP2D in interface P2DContainerInterfaceindex - the index of the component to be removed.#addpublic P2DContainerInterface removeP2D(P2DContainerInterface comp)
removeP2D in interface P2DContainerInterfacecomp - the component to be removed#addpublic P2DContainerInterface getP2D(int index)
index,
from this container.getP2D in interface P2DContainerInterfaceindex - the index of the component to be retrieved.the - element that was retrieved or null if not available.#addpublic P2DContainerInterface[] getP2D(java.lang.Class clazz)
getP2D in interface P2DContainerInterfaceclazz - the child class.an - array containing component implementing the specified class.public P2DContainerInterface[] getP2D(java.lang.Class clazz, java.lang.String name)
getP2D in interface P2DContainerInterfaceclazz - the child class.name - the name of the component.an - array containing component implementing the specified class and
with the specified name.public void removeAllP2D()
removeAllP2D in interface P2DContainerInterface#add,
#removepublic void toFront()
toFront in interface P2DContainerInterfacepublic void toFront(int index)
toFront in interface P2DContainerInterfaceindex - The index of the component to be moved.public void toFront(P2DContainerInterface container)
toFront in interface P2DContainerInterfacecontainer - The component to be moved.public void toBack()
toBack in interface P2DContainerInterfacepublic void toBack(int index)
toBack in interface P2DContainerInterfaceindex - The index of the component to be moved.public void toBack(P2DContainerInterface container)
toBack in interface P2DContainerInterfacecontainer - The component to be moved.public void setParentContainer(P2DContainerInterface container)
setParentContainer in interface P2DContainerInterfacecontainer - The parent container.getParentContainerpublic P2DContainerInterface getParentContainer()
getParentContainer in interface P2DContainerInterfacesetParentContainerpublic FwkCommandInterface[] getCommands()
getCommands in interface FwkInstructionInterfacegetCommands in class FwkPersistencepublic void getAllArmedComponents(P2DContainerInterface container, double x, double y, FwkArrayInterface arr)
getAllArmedComponents in interface P2DContainerInterfacex - The x part of the armed coordinate.y - The y part of the armed coordinate.arr - The array to collect all armed components.public void getAllArmedComponents(P2DContainerInterface container, java.awt.geom.Point2D p, FwkArrayInterface arr)
getAllArmedComponents in interface P2DContainerInterfacex - The x part of the armed coordinate.y - The y part of the armed coordinate.arr - The array to collect all armed components.public P2DContainerInterface getArmedComponent(java.awt.event.MouseEvent ev)
public P2DContainerInterface getArmedComponent(double x, double y)
getArmedComponent in interface P2DContainerInterfacepublic void setActiveComponent(P2DContainerInterface container, P2DContainerInterface component)
setActiveComponent in interface P2DContainerInterfacecomponent - The component.public P2DContainerInterface getActiveComponent(P2DContainerInterface container)
getActiveComponent in interface P2DContainerInterfacepublic void addRepaintListener(P2DRepaintListenerInterface listener)
addRepaintListener in interface P2DContainerInterfacelistener - the repaint listener.public void removeRepaintListener(P2DRepaintListenerInterface listener)
removeRepaintListener in interface P2DContainerInterfacelistener - the repaint listener.public FwkArrayInterface getRepaintListenerArray()
getRepaintListenerArray in interface P2DContainerInterfaceThe - FwkArrayInterface.public void repaint()
repaint in interface P2DContainerInterfacepublic void addContainerListener(P2DContainerListenerInterface listener)
addContainerListener in interface P2DContainerInterfacelistener - the container listener.public void removeContainerListener(P2DContainerListenerInterface listener)
removeContainerListener in interface P2DContainerInterfacelistener - the container listener.public FwkArrayInterface getContainerListenerArray()
getContainerListenerArray in interface P2DContainerInterfaceThe - FwkArrayInterface.protected void fireContainerAddedEvent(P2DContainerInterface container)
container - that was added.protected void fireContainerRemovedEvent(P2DContainerInterface container)
container - that was removed.public void setActive(P2DContainerInterface container, boolean flag)
setActive in interface P2DContainerInterfaceflag - true if the component should be activated.public boolean getActive(P2DContainerInterface container)
getActive in interface P2DContainerInterfacepublic FwkArrayInterface getFocusListenerArray()
getFocusListenerArray in interface P2DContainerInterfaceThe - FwkArrayInterface.public void addFocusListener(java.awt.event.FocusListener l)
addFocusListener in interface P2DContainerInterfacel - The focus listener.public void removeFocusListener(java.awt.event.FocusListener l)
removeFocusListener in interface P2DContainerInterfacel - The focus listener.public abstract void processFocusEvent(java.awt.event.FocusEvent e)
processFocusEvent in interface P2DContainerInterfaceComponentpublic void processMouseEvent(java.awt.event.MouseEvent e)
processMouseEvent in interface P2DContainerInterfaceComponentpublic FwkArrayInterface getMouseListenerArray()
getMouseListenerArray in interface P2DContainerInterfaceThe - FwkArrayInterface.public void addMouseListener(java.awt.event.MouseListener l)
addMouseListener in interface P2DContainerInterfacel - The mouse motion listener.public void removeMouseListener(java.awt.event.MouseListener l)
removeMouseListener in interface P2DContainerInterfacel - The mouse motion listener.public FwkArrayInterface getMouseMotionListenerArray()
getMouseMotionListenerArray in interface P2DContainerInterfaceThe - FwkArrayInterface.public void addMouseMotionListener(java.awt.event.MouseMotionListener l)
addMouseMotionListener in interface P2DContainerInterfacel - The mouse motion listener.public void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
removeMouseMotionListener in interface P2DContainerInterfacel - The mouse motion listener.public FwkArrayInterface getOrderListenerArray()
getOrderListenerArray in interface P2DContainerInterfaceThe - BrickArrayInterface.public void addOrderListener(P2DOrderListenerInterface l)
addOrderListener in interface P2DContainerInterfacel - The order listener.public void removeOrderListener(P2DOrderListenerInterface l)
removeOrderListener in interface P2DContainerInterfacel - The order listener.public void fireOrderEvent(boolean flag)
fireOrderEvent in interface P2DContainerInterfaceflag - if true then an popToFront is fired else an pushToButton event.public FwkArrayInterface getListenerArray(java.lang.Class clazz)
getListenerArray in interface P2DContainerInterfaceclazz - The listener class.The - BrickArrayInterface.public void addListener(java.lang.Class clazz,
java.util.EventListener listener)
addListener in interface P2DContainerInterfaceclazz - The listener class.listener - An instance of the listener class.l - The order listener.public void removeListener(java.lang.Class clazz,
java.util.EventListener listener)
removeListener in interface P2DContainerInterfaceclazz - The listener class.listener - An instance of the listener class.l - The order listener.public void revalidate(boolean recursive)
revalidate in interface P2DContainerInterfacepublic void setSelectable(boolean flag)
setSelectable in interface P2DContainerInterfaceflag - if true the container is selectable.public boolean getSelectable()
getSelectable in interface P2DContainerInterfacepublic org.w3c.dom.Element writeConstructor(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public org.w3c.dom.Element writeToDOM(org.w3c.dom.Document document,
FwkXmlDtdInterface dtd,
org.w3c.dom.Node node,
java.util.Map classProperties)
writeToDOM in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.node - The parent node.classProperties - Map the contains the writable object properties.
May be null.public java.lang.Object readConstructor(org.w3c.dom.Document document,
org.w3c.dom.Element node)
readConstructor in interface FwkDOMHandlerInterfacedocument - The documnent Object Model.dtd - The dtd descriptor.node - The node.classProperties - Map the contains the writable object properties.
May be null.public void readFromDOM(org.w3c.dom.Document doc,
org.w3c.dom.Element element)
readFromDOM in interface FwkDOMHandlerInterfacepublic boolean writeToXML(java.lang.String filename,
boolean validate)
writeToXML in interface FwkDOMHandlerInterfacefilename - The name of the xml file.validate - Write a validated cml file.public void readingDOM(boolean flag)
readingDOM in interface FwkDOMHandlerInterfaceflag - true if the object reads currently fom DOM.public boolean readingDOM()
readingDOM in interface FwkDOMHandlerInterfacepublic java.lang.String getShortName()
getShortName in interface P2DContainerInterfacepublic void saveLastMouseEvent(java.awt.event.MouseEvent ev)
saveLastMouseEvent in interface P2DContainerInterfaceev - The mouse event to be saved.public java.awt.event.MouseEvent restoreLastMouseEvent()
restoreLastMouseEvent in interface P2DContainerInterfacepublic boolean openPopupMenu(java.awt.event.MouseEvent ev)
openPopupMenu in interface P2DContainerInterfaceev - The mouse event.public FwkCommandInterface[] getComponentCommands()
getComponentCommands in interface P2DContainerInterface