|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lava.gui.ListenableLayoutManager | +--lava.gui.ListenableLayoutManager2
Adds LayoutListener support to any LayoutManager2.
Details: ListenableLayoutManager2
is similar to ProxyLayoutManager
, except that it encapsulates instances of LayoutManager2
. For more details, ProxyLayoutManager
.
Fields inherited from class lava.gui.ListenableLayoutManager |
lm |
Constructor Summary | |
ListenableLayoutManager2(java.awt.LayoutManager2 lm2)
Specifies LayoutManager2. |
Method Summary | |
void |
addLayoutComponent(java.awt.Component c,
java.lang.Object o)
Forwards call to lm. |
float |
getLayoutAlignmentX(java.awt.Container c)
Forwards call to lm. |
float |
getLayoutAlignmentY(java.awt.Container c)
Forwards call to lm. |
void |
invalidateLayout(java.awt.Container c)
Forwards call to lm. |
java.awt.Dimension |
maximumLayoutSize(java.awt.Container c)
Forwards call to lm. |
Methods inherited from class lava.gui.ListenableLayoutManager |
addLayoutComponent, addLayoutListener, layoutContainer, minimumLayoutSize, notifyListeners, preferredLayoutSize, removeLayoutComponent, removeLayoutListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.LayoutManager |
addLayoutComponent, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent |
Constructor Detail |
public ListenableLayoutManager2(java.awt.LayoutManager2 lm2)
Details: This constructor prepares me to act as a proxy for the given LayoutManager2
.
lm
- the LayoutManagerMethod Detail |
public void invalidateLayout(java.awt.Container c)
Details: I forward invalidateLayout
calls to lm.
invalidateLayout
in interface java.awt.LayoutManager2
c
- a forwarded parameterpublic void addLayoutComponent(java.awt.Component c, java.lang.Object o)
Details: I forward addLayoutComponent
calls to lm.
addLayoutComponent
in interface java.awt.LayoutManager2
c
- a forwarded parametero
- a forwarded parameterpublic java.awt.Dimension maximumLayoutSize(java.awt.Container c)
Details: I forward maximumLayoutSize
calls to lm and return the result.
maximumLayoutSize
in interface java.awt.LayoutManager2
c
- a forwarded parameterpublic float getLayoutAlignmentX(java.awt.Container c)
Details: I forward getLayoutAlignmentX
calls to lm and return the result.
getLayoutAlignmentX
in interface java.awt.LayoutManager2
c
- a forwarded parameterpublic float getLayoutAlignmentY(java.awt.Container c)
Details: I forward getLayoutAlignmentY
calls to lm and return the result.
getLayoutAlignmentY
in interface java.awt.LayoutManager2
c
- a forwarded parameter
|
Sharkysoft home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |