| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.tab.RowLayout
public class RowLayout
This layout puts all tabs in one, or if there is not enough space, in many,
 rows. This TabLayoutManager does never create menus and ignores the 
 info panel.
 Please do note that this manager is no longer used by any of the default
 DockThemes. It remains however in the framework for future uses.
| Constructor Summary | |
|---|---|
| RowLayout() | |
| 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 TabLayoutManagerthat from now on it will have
 to layoutpane. | 
|  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 TabLayoutManagerthat it has no longer to
 look afterpane. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RowLayout()
| Method Detail | 
|---|
public Dimension getMinimumSize(TabPane pane)
TabLayoutManagerTabPane.getAvailableArea()
 should return.
getMinimumSize in interface TabLayoutManagerpane - some panel
panepublic Dimension getPreferredSize(TabPane pane)
TabLayoutManagerTabPane.getAvailableArea()
 should return.
getPreferredSize in interface TabLayoutManagerpane - some panel
pane
public int getIndexOfTabAt(TabPane pane,
                           Point mouseLocation)
TabLayoutManagermouseLocation.
getIndexOfTabAt in interface TabLayoutManagerpane - the panel for which to search the tabmouseLocation - the location of the mouse
mouseLocation or nullpublic void layout(TabPane pane)
TabLayoutManagerpane, this manager is free to
 make any layout it wishes. However, the result should allow the user
 to still select any tab.
layout in interface TabLayoutManagerpane - the pane whose tabs should be positionedpublic void install(TabPane pane)
TabLayoutManagerTabLayoutManager that from now on it will have
 to layout pane.
install in interface TabLayoutManagerpane - a pane that will be given to TabLayoutManager.layout(TabPane)public void uninstall(TabPane pane)
TabLayoutManagerTabLayoutManager that it has no longer to
 look after pane.
uninstall in interface TabLayoutManagerpane - a TabPane that will no longer be given to
 TabLayoutManager.layout(TabPane)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||