bibliothek.gui.dock.station.stack.tab.layouting
Class AbstractTabsLayoutBlock.TabsSize
java.lang.Object
bibliothek.gui.dock.station.stack.tab.layouting.Size
bibliothek.gui.dock.station.stack.tab.layouting.AbstractTabsLayoutBlock.TabsSize
- Direct Known Subclasses:
- LineTabsLayoutBlock.LineSize
- Enclosing class:
- AbstractTabsLayoutBlock
protected class AbstractTabsLayoutBlock.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 LayoutBlock.setLayout(Size)
- Author:
- Benjamin Sigg
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size |
Size.Type |
AbstractTabsLayoutBlock.TabsSize
public AbstractTabsLayoutBlock.TabsSize(Size.Type type,
Dimension size,
Tab[] tabs,
double score)
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 String toString()
- Overrides:
toString
in class Size