bibliothek.gui.dock.station.stack.tab.layouting
Class LineTabsLayoutBlock.LineSize
java.lang.Object
bibliothek.gui.dock.station.stack.tab.layouting.Size
bibliothek.gui.dock.station.stack.tab.layouting.AbstractTabsLayoutBlock.TabsSize
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 classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.Size |
Size.Type |
|
Method Summary |
boolean |
isAllTabs()
Tells whether this size represents a size where all tabs are shown. |
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 issize - the amount of needed pixelstabs - the tabs shown with this sizeallTabs - whether tabs includes all available tabsscore - how well this size is liked
isAllTabs
public boolean isAllTabs()
- Tells whether this size represents a size where all tabs are shown.
- Returns:
true if all tabs are shown