protected class LineTabsLayoutBlock.SizeCollector extends Object
Tab
s.Constructor and Description |
---|
SizeCollector(Dockable[] dockables)
Creates a new collector
|
Modifier and Type | Method and Description |
---|---|
Dimension |
getMinimumSize()
Gets the current minimum size.
|
Dimension |
getPreferredSize()
Gets the current preferred size.
|
void |
insert(Tab tab)
Adds a new tab to this collector, all sizes of this collector
change because of this action.
|
public void insert(Tab tab)
tab
- the new tabpublic Dimension getMinimumSize()
public Dimension getPreferredSize()