|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 LayoutBlocks to simplify
its algorithms.
TabPane.LAYOUT_MANAGER| Method Summary | |
|---|---|
int |
getIndexOfTabAt(TabPane pane,
Point mouseLocation)
Finds out which tab is below the mouse at location mouseLocation. |
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
paneDimension getPreferredSize(TabPane pane)
TabPane.getAvailableArea()
should return.
pane - some panel
pane
int getIndexOfTabAt(TabPane pane,
Point mouseLocation)
mouseLocation.
pane - the panel for which to search the tabmouseLocation - the location of the mouse
mouseLocation or nullvoid 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 | |||||||||