|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.flexdock.docking.defaults.DefaultDockingPort.PortLayout
protected class DefaultDockingPort.PortLayout
Constructor Summary | |
---|---|
protected |
DefaultDockingPort.PortLayout()
|
Method Summary | |
---|---|
void |
addLayoutComponent(Component comp,
Object constraints)
|
void |
addLayoutComponent(String name,
Component comp)
|
float |
getLayoutAlignmentX(Container target)
|
float |
getLayoutAlignmentY(Container target)
|
void |
invalidateLayout(Container target)
|
void |
layoutContainer(Container parent)
Instructs the layout manager to perform the layout for the specified container. |
Dimension |
maximumLayoutSize(Container target)
Returns the maximum amount of space the layout can use. |
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum amount of space the layout needs. |
Dimension |
preferredLayoutSize(Container parent)
Returns the amount of space the layout would like to have. |
void |
removeLayoutComponent(Component comp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DefaultDockingPort.PortLayout()
Method Detail |
---|
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
parent
- the Container for which this layout manager is being used
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
parent
- the Container for which this layout manager is being used
public Dimension maximumLayoutSize(Container target)
maximumLayoutSize
in interface LayoutManager2
target
- the Container for which this layout manager is being used
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
parent
- the Container for which this layout manager is being usedpublic void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public void addLayoutComponent(Component comp, Object constraints)
addLayoutComponent
in interface LayoutManager2
public float getLayoutAlignmentX(Container target)
getLayoutAlignmentX
in interface LayoutManager2
public float getLayoutAlignmentY(Container target)
getLayoutAlignmentY
in interface LayoutManager2
public void invalidateLayout(Container target)
invalidateLayout
in interface LayoutManager2
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |