bibliothek.gui.dock.station.stack.tab.layouting
Class TabsLayoutBlock.TabsSize
java.lang.Object
bibliothek.gui.dock.station.stack.tab.layouting.Size
bibliothek.gui.dock.station.stack.tab.layouting.TabsLayoutBlock.TabsSize
- Direct Known Subclasses:
- LineTabsLayoutBlock.LineSize
- Enclosing class:
- TabsLayoutBlock
protected class TabsLayoutBlock.TabsSize
- extends Size
This Size
contains an array of Tab
s which are required
to get this size. Instances of this class can be used for TabsLayoutBlock.setLayout(Size)
- Author:
- Benjamin Sigg
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size |
Size.Type |
Method Summary |
int |
getTabCount()
Gets the number of tabs shown with this size. |
Tab[] |
getTabs()
Gets the tabs that are required for this size. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TabsLayoutBlock.TabsSize
public TabsLayoutBlock.TabsSize(Size.Type type,
int width,
int height,
Tab[] tabs)
TabsLayoutBlock.TabsSize
public TabsLayoutBlock.TabsSize(Size.Type type,
java.awt.Dimension size,
Tab[] tabs)
getTabs
public Tab[] getTabs()
- Gets the tabs that are required for this size.
- Returns:
- the tabs
getTabCount
public int getTabCount()
- Gets the number of tabs shown with this size.
- Returns:
- the number of tabs
toString
public java.lang.String toString()
- Overrides:
toString
in class Size