bibliothek.gui.dock.station.stack.tab.layouting
Class LineTabsLayoutBlock.LineSize

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.tab.layouting.Size
      extended by bibliothek.gui.dock.station.stack.tab.layouting.AbstractTabsLayoutBlock.TabsSize
          extended by bibliothek.gui.dock.station.stack.tab.layouting.LineTabsLayoutBlock.LineSize
Enclosing class:
LineTabsLayoutBlock

public class LineTabsLayoutBlock.LineSize
extends AbstractTabsLayoutBlock.TabsSize

Size information about a line on a LineTabsLayoutBlock.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size
Size.Type
 
Constructor Summary
LineTabsLayoutBlock.LineSize(Size.Type type, Dimension size, Tab[] tabs, boolean allTabs, double score)
          Creates a new size
 
Method Summary
 boolean isAllTabs()
          Tells whether this size represents a size where all tabs are shown.
 
Methods inherited from class bibliothek.gui.dock.station.stack.tab.layouting.AbstractTabsLayoutBlock.TabsSize
getTabCount, getTabs, toString
 
Methods inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size
getHeight, getScore, getType, getWidth, isMinimum, isPreferred, toDimension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineTabsLayoutBlock.LineSize

public LineTabsLayoutBlock.LineSize(Size.Type type,
                                    Dimension size,
                                    Tab[] tabs,
                                    boolean allTabs,
                                    double score)
Creates a new size

Parameters:
type - the kind of size this is
size - the amount of needed pixels
tabs - the tabs shown with this size
allTabs - whether tabs includes all available tabs
score - how well this size is liked
Method Detail

isAllTabs

public boolean isAllTabs()
Tells whether this size represents a size where all tabs are shown.

Returns:
true if all tabs are shown