|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.stack.tab.layouting.LineTabsLayoutBlock.SizeCollector
protected class LineTabsLayoutBlock.SizeCollector
Used to calculate the minimum and preferred size of a set of
Tab
s.
Constructor Summary | |
---|---|
LineTabsLayoutBlock.SizeCollector(Dockable[] dockables)
Creates a new collector |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineTabsLayoutBlock.SizeCollector(Dockable[] dockables)
dockables
- underlying set of Dockable
s.Method Detail |
---|
public void insert(Tab tab)
tab
- the new tabpublic Dimension getMinimumSize()
public Dimension getPreferredSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |