|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.abstractics.xmlpanel.swing.XmlPanelLayoutManager
LayoutManager used by the XmlPanel. This layout manager delegates most of its responsibility to the XmlLayout object that it contains.
Constructor Summary | |
(package private) |
XmlPanelLayoutManager(org.w3c.dom.Element element,
XmlPanel panel)
Package level constructor - this object should only be instantiated through the XmlPanel itself |
Method Summary | |
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Useless -- once the layout manager is constructed it is set in stone, adding components after the fact will do nothing. |
java.awt.Component[] |
getComponents()
|
XmlLayout |
getXmlLayout()
|
void |
layoutContainer(java.awt.Container parent)
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
|
void |
removeLayoutComponent(java.awt.Component comp)
Useless -- once the layout manager is constructed it is set in stone, removing components after the fact will do nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
XmlPanelLayoutManager(org.w3c.dom.Element element, XmlPanel panel)
element
- The XML element that is the starting definition of the panelpanel
- The XmlPanel that this component is being placed into - for
reference only.Method Detail |
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
LayoutManager.addLayoutComponent(java.lang.String,
java.awt.Component)
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
LayoutManager.removeLayoutComponent(java.awt.Component)
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
public void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
public XmlLayout getXmlLayout()
public java.awt.Component[] getComponents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |