|
||||||||||
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.AbstractTabLayoutManager.PaneInfo bibliothek.gui.dock.station.stack.tab.MenuLineLayout.Layout
protected class MenuLineLayout.Layout
Layout information for a TabPane
.
Constructor Summary | |
---|---|
MenuLineLayout.Layout(TabPane pane)
Creates new layout information for pane . |
Method Summary | |
---|---|
void |
destroy()
Informs this layout that it is no longer used and can release any resource. |
java.awt.Dimension |
getMinimumSize()
Calculates the minimal size required. |
java.awt.Dimension |
getPreferredSize()
Calculates the preferred size to show all elements. |
void |
infoComponentChanged(TabPane pane,
LonelyTabPaneComponent oldInfo,
LonelyTabPaneComponent newInfo)
Called if the TabPane.getInfoComponent() was replaced. |
void |
layout()
Updates the number of shown tabs and the boundaries of tabs, menu and info. |
Methods inherited from class bibliothek.gui.dock.station.stack.tab.AbstractTabLayoutManager.PaneInfo |
---|
added, getPane, removed, selectionChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MenuLineLayout.Layout(TabPane pane)
pane
.
pane
- the owner of this informationMethod Detail |
---|
public java.awt.Dimension getPreferredSize()
public java.awt.Dimension getMinimumSize()
public void destroy()
public void layout()
public void infoComponentChanged(TabPane pane, LonelyTabPaneComponent oldInfo, LonelyTabPaneComponent newInfo)
TabPaneListener
TabPane.getInfoComponent()
was replaced.
infoComponentChanged
in interface TabPaneListener
infoComponentChanged
in class AbstractTabLayoutManager.PaneInfo
pane
- the source of this eventoldInfo
- the old info component, may be null
newInfo
- the new info component, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |