|
||||||||||
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.TabsLayoutBlock bibliothek.gui.dock.station.stack.tab.layouting.LineTabsLayoutBlock
public class LineTabsLayoutBlock
This TabsLayoutBlock
orders its tabs in a line.
Nested Class Summary | |
---|---|
class |
LineTabsLayoutBlock.LineSize
Size information about a line on a LineTabsLayoutBlock . |
protected class |
LineTabsLayoutBlock.SizeCollector
Used to calculate the minimum and preferred size of a set of Tab s. |
protected class |
LineTabsLayoutBlock.ZOrder
Calculates the z-order of various
components requiring only a subset of all comparisons |
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.stack.tab.layouting.TabsLayoutBlock |
---|
TabsLayoutBlock.TabsSize |
Constructor Summary | |
---|---|
LineTabsLayoutBlock()
|
Method Summary | |
---|---|
protected void |
checkSelection()
Creates the tab that should be selected and adds it at an appropriate location. |
void |
doLayout()
Updates the layout of this block. |
LineTabsLayoutBlock.LineSize[] |
getSizes()
Creates a map of all sizes for which this block knows how to make an optimal layout. |
boolean |
isSameSize()
If set, then all tabs have the same height (width) if laid out horizontal (vertical). |
void |
setSameSize(boolean sameSize)
If set, then all tabs have the same height (width) if laid out horizontal (vertical). |
Methods inherited from class bibliothek.gui.dock.station.stack.tab.layouting.TabsLayoutBlock |
---|
addTab, checkExistence, getBounds, getDockableTabMap, getOrientation, getOriginalTabLocations, getPane, getSelectedTab, getTabs, getTabsCount, getTabsOrderedByImportance, indexOfTab, insertTab, insertTab, isVisible, removeAllTabs, removeTab, removeTab, setBounds, setLayout, setOrientation, setPane |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineTabsLayoutBlock()
Method Detail |
---|
public boolean isSameSize()
true
if all tabs have the same sizepublic void setSameSize(boolean sameSize)
sameSize
- whether all tabs should have the same height.protected void checkSelection()
public LineTabsLayoutBlock.LineSize[] getSizes()
LayoutBlock
null
public void doLayout()
TabsLayoutBlock
Tab
s managed by this block. This method
must not add or remove tabs from the block.
doLayout
in class TabsLayoutBlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |