|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.tab.AbstractTabLayoutManagerPane
bibliothek.gui.dock.station.stack.tab.MenuLineLayoutPane
public class MenuLineLayoutPane
Represents one of the TabPanes that are managed by a MenuLineLayout.
| Constructor Summary | |
|---|---|
MenuLineLayoutPane(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. |
int |
getIndexOfTabAt(Point mouseLocation)
Searches the index of the tab beneath mouseLocation. |
LayoutBlock |
getInfo()
Gets the info Component that is shown on this pane. |
MenuLineLayout |
getLayout()
Gets the MenuLineLayout that is using this pane. |
protected MenuLineLayoutPossibility |
getLayout(Size tabSize,
Size menuSize,
Size infoSize)
Creates a possible layout for the given sizes. |
MenuLayoutBlock |
getMenu()
Gets the menu that is shown on this pane. |
Dimension |
getMinimumSize()
Calculates the minimal size required. |
Dimension |
getPreferredSize()
Calculates the preferred size to show all elements. |
TabsLayoutBlock |
getTabs()
Gets the tabs that are shown on this pane. |
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.AbstractTabLayoutManagerPane |
|---|
added, controllerChanged, getPane, isUseSmallMinimumSize, removed, selectionChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuLineLayoutPane(MenuLineLayout layout,
TabPane pane)
pane.
layout - the layout using this panepane - the owner of this information| Method Detail |
|---|
public TabsLayoutBlock getTabs()
public LayoutBlock getInfo()
Component that is shown on this pane.
public MenuLayoutBlock getMenu()
public Dimension getPreferredSize()
public Dimension getMinimumSize()
public void destroy()
public MenuLineLayout getLayout()
MenuLineLayout that is using this pane.
nullpublic int getIndexOfTabAt(Point mouseLocation)
mouseLocation.
mouseLocation - the location of the mouse
mouseLocation or -1public void layout()
protected MenuLineLayoutPossibility getLayout(Size tabSize,
Size menuSize,
Size infoSize)
tabSize - the sizes of the tabsmenuSize - the size of the menuinfoSize - the size of the info component
public void infoComponentChanged(TabPane pane,
LonelyTabPaneComponent oldInfo,
LonelyTabPaneComponent newInfo)
TabPaneListenerTabPane.getInfoComponent() was replaced.
infoComponentChanged in interface TabPaneListenerinfoComponentChanged in class AbstractTabLayoutManagerPanepane - the source of this eventoldInfo - the old info component, may be nullnewInfo - the new info component, may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||