|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Todo(compatibility=COMPATIBLE, priority=ENHANCEMENT, target=VERSION_1_1_0, description="Make some more LayoutManagers to put tabs in the {left, middle, right} or {top, middle, bottom}") public interface TabLayoutManager
A TabLayoutManager
is responsible for managing the location and size
of tags
,
menus
and info-component
of a TabPane
. The manager can make use of LayoutBlock
s to simplify
its algorithms.
Method Summary | |
---|---|
Dimension |
getMinimumSize(TabPane pane)
Gets the minimal size that TabPane.getAvailableArea()
should return. |
Dimension |
getPreferredSize(TabPane pane)
Gets the preferred size that TabPane.getAvailableArea()
should return. |
void |
install(TabPane pane)
Informs this TabLayoutManager that from now on it will have
to layout pane . |
void |
layout(TabPane pane)
Lays out the tabs on pane , this manager is free to
make any layout it wishes. |
void |
uninstall(TabPane pane)
Informs this TabLayoutManager that it has no longer to
look after pane . |
Method Detail |
---|
void layout(TabPane pane)
pane
, this manager is free to
make any layout it wishes. However, the result should allow the user
to still select any tab.
pane
- the pane whose tabs should be positionedDimension getMinimumSize(TabPane pane)
TabPane.getAvailableArea()
should return.
pane
- some panel
pane
Dimension getPreferredSize(TabPane pane)
TabPane.getAvailableArea()
should return.
pane
- some panel
pane
void install(TabPane pane)
TabLayoutManager
that from now on it will have
to layout pane
.
pane
- a pane that will be given to layout(TabPane)
void uninstall(TabPane pane)
TabLayoutManager
that it has no longer to
look after pane
.
pane
- a TabPane
that will no longer be given to
layout(TabPane)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |