|
||||||||||
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.AbstractTabLayoutManagerPane bibliothek.gui.dock.station.stack.tab.MenuLineLayoutPane
public class MenuLineLayoutPane
Represents one of the TabPane
s 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 informationMethod 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.
null
public int getIndexOfTabAt(Point mouseLocation)
mouseLocation
.
mouseLocation
- the location of the mouse
mouseLocation
or -1
public 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)
TabPaneListener
TabPane.getInfoComponent()
was replaced.
infoComponentChanged
in interface TabPaneListener
infoComponentChanged
in class AbstractTabLayoutManagerPane
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 |