|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.MenuLineLayoutPossibility
public class MenuLineLayoutPossibility
A possibility for a layout of tabs, menus and actions as described by the MenuLineLayout
.
Constructor Summary | |
---|---|
MenuLineLayoutPossibility(MenuLineLayoutPane pane,
Size tab,
Size menu,
Size info)
Creates a new layout. |
Method Summary | |
---|---|
void |
apply()
Applies the sizes specified in this layout. |
MenuLineLayoutPane |
getPane()
Gets the representation of the TabPane for which which possible layout
is evaluated. |
double |
getScore()
Tells how good this layout is. |
Dimension |
getSize()
Gets the size this layout requires, this Dimension does not include the preferred or minimal size
required for the tab pane . |
boolean |
isPreferred()
Tells whether this layout shows all items with their preferred size. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MenuLineLayoutPossibility(MenuLineLayoutPane pane, Size tab, Size menu, Size info)
pane
- the TabPane
for which this possible layout is checkedtab
- the size of the tabs, not null
menu
- the size of the menu, may be null
to indicate
that the menu is invisibleinfo
- the size of the info panel, may be null
if
there is no info panel to showMethod Detail |
---|
public String toString()
toString
in class Object
public double getScore()
1.0
, the layout which does not
show anything has a score of 0.0
.
public boolean isPreferred()
public MenuLineLayoutPane getPane()
TabPane
for which which possible layout
is evaluated.
null
public Dimension getSize()
Dimension
does not include the preferred or minimal size
required for the tab pane
.
public void apply()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |