bibliothek.gui.dock.station.stack.tab.layouting
Class TabsLayoutBlock.TabsSize

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.tab.layouting.Size
      extended by 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 Tabs which are required to get this size. Instances of this class can be used for TabsLayoutBlock.setLayout(Size)

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size
Size.Type
 
Constructor Summary
TabsLayoutBlock.TabsSize(Size.Type type, java.awt.Dimension size, Tab[] tabs)
           
TabsLayoutBlock.TabsSize(Size.Type type, int width, int height, Tab[] tabs)
           
 
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 bibliothek.gui.dock.station.stack.tab.layouting.Size
getHeight, getType, getWidth, isMinimum, isPreferred, toDimension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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