public class LineTabsLayoutBlock.LineSize extends AbstractTabsLayoutBlock.TabsSize
Size
information about a line on a LineTabsLayoutBlock
.Constructor and Description |
---|
LineTabsLayoutBlock.LineSize(Size.Type type,
Dimension size,
Tab[] tabs,
boolean allTabs,
double score)
Creates a new size
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAllTabs()
Tells whether this size represents a size where all tabs are shown.
|
getTabCount, getTabs, toString
getHeight, getScore, getType, getWidth, isMinimum, isPreferred, toDimension
public LineTabsLayoutBlock.LineSize(Size.Type type, Dimension size, Tab[] tabs, boolean allTabs, double score)
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