public class TabPosition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TabPosition.LayoutPosition
This enum contains layout positions of the tabs in the
AdvancedTabPanel |
Modifier and Type | Field and Description |
---|---|
static TabPosition |
BOTTOM
bottom the content
|
static TabPosition |
LEFT
left side
|
static TabPosition |
RIGHT
right side
|
static TabPosition |
TOP
above the content
|
Constructor and Description |
---|
TabPosition(String name,
TabBandRenderer renderer,
TabPosition.LayoutPosition layoutPosition)
Creates an instance of this class and initializes internal fields.
|
Modifier and Type | Method and Description |
---|---|
TabPosition.LayoutPosition |
getLayoutPosition()
Gets a dock layout constant that is related to the position.
|
String |
getName()
Gets a name of the position.
|
TabBandRenderer |
getRenderer()
Gets a specific renderer to be applied for this position.
|
String |
toString()
Always gets a name.
|
public static final TabPosition TOP
public static final TabPosition LEFT
public static final TabPosition RIGHT
public static final TabPosition BOTTOM
public TabPosition(String name, TabBandRenderer renderer, TabPosition.LayoutPosition layoutPosition)
name
- is a position name.renderer
- is a tabs band renderer to be used for this position.layoutPosition
- is a dock layout position (to be used by the tabs panel).public String getName()
public TabBandRenderer getRenderer()
public TabPosition.LayoutPosition getLayoutPosition()
Copyright © 2008–2013. All rights reserved.