|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.ToolbarContainerLayoutManager
public class ToolbarContainerLayoutManager
The LayoutManager2
used by a ToolbarContainerDockStation
, this LayoutManager2
uses the current SpanFactory
to add gaps between Component
s if necessary.
Constructor Summary | |
---|---|
ToolbarContainerLayoutManager(JComponent parent,
ToolbarContainerDockStation station)
Creates a new layout manager |
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)
|
Dimension |
maximumLayoutSize(Container target)
|
Dimension |
minimumLayoutSize(Container parent)
|
Dimension |
preferredLayoutSize(Container parent)
|
void |
removeLayoutComponent(Component comp)
|
void |
setController(bibliothek.gui.DockController controller)
Sets the DockController in whose realm this layout manager is used. |
void |
setDrawing(ToolbarContainerDropInfo info)
Tells this layout manager which Span s have to mutate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolbarContainerLayoutManager(JComponent parent, ToolbarContainerDockStation station)
parent
- the panel using this layout managerstation
- the station showing panel
Method Detail |
---|
public void setController(bibliothek.gui.DockController controller)
DockController
in whose realm this layout manager is used.
controller
- the controller, can be null
public void setDrawing(ToolbarContainerDropInfo info)
Span
s have to mutate.
info
- information about the item that is currently droppedpublic void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public Dimension maximumLayoutSize(Container target)
maximumLayoutSize
in interface LayoutManager2
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
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 |