| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.tab.layouting.ComponentLayoutBlock<C>
public class ComponentLayoutBlock<C extends TabPaneComponent>
This LayoutBlock handles exactly one TabPaneComponent.
| Constructor Summary | |
|---|---|
| ComponentLayoutBlock() | |
| Method Summary | |
|---|---|
|  C | getComponent()Gets the component which is managed by this block. | 
|  Size[] | getSizes()Creates a map of all sizes for which this block knows how to make an optimal layout. | 
|  void | setBounds(int x,
          int y,
          int width,
          int height)Sets the boundaries of this block. | 
|  void | setComponent(C component)Sets the component which should be managed by this block. | 
|  void | setLayout(Size size)Sets the layout of this block, the exact meaning of sizedepends on this block. | 
|  void | setOrientation(TabPlacement placement)Tells this LayoutBlockat which side of the tabs it is shown. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ComponentLayoutBlock()
| Method Detail | 
|---|
public void setComponent(C component)
component - the new component, may be nullpublic C getComponent()
null
public void setBounds(int x,
                      int y,
                      int width,
                      int height)
LayoutBlock
setBounds in interface LayoutBlockx - the x coordinatey - the y coordinatewidth - the width in pixelheight - the height in pixelpublic Size[] getSizes()
LayoutBlock
getSizes in interface LayoutBlocknullpublic void setLayout(Size size)
LayoutBlocksize
 depends on this block. In general keys returned by the last call of
 LayoutBlock.getSizes() must be accepted, for any  other key the behavior 
 is unspecified.
setLayout in interface LayoutBlocksize - the new layoutpublic void setOrientation(TabPlacement placement)
LayoutBlockLayoutBlock at which side of the tabs it is shown.
setOrientation in interface LayoutBlockplacement - the placement, not null| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||