org.argouml.swingext
Class SplitterLayout
java.lang.Object
org.argouml.swingext.LineLayout
org.argouml.swingext.ProportionalLayout
org.argouml.swingext.SplitterLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
- public class SplitterLayout
- extends ProportionalLayout
A ProportionalLayout
which recognises a contained
Splitter
and automatically registers components either
side to be resized.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
splitterMouseListener
SplitterLayout.SplitterMouseListener splitterMouseListener
SplitterLayout
public SplitterLayout()
SplitterLayout
public SplitterLayout(Orientation orientation)
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager
- Overrides:
addLayoutComponent
in class ProportionalLayout
calculateProportions
private void calculateProportions()
calculateProportions
private void calculateProportions(java.awt.Component westComponent,
java.awt.Component eastComponent)
getComponentPosition
public int getComponentPosition(java.awt.Component comp)