Package net.infonode.tabbedpanel
Class TabLayoutPolicy
- java.lang.Object
-
- net.infonode.util.Enum
-
- net.infonode.tabbedpanel.TabLayoutPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,Writable
public final class TabLayoutPolicy extends Enum
TabLayoutPolicy defines how the tabs in a tabbed panel's tab area can be laid out.- See Also:
TabbedPanel
,TabbedPanelProperties
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TabLayoutPolicy
COMPRESSION
Compression layout policy.static TabLayoutPolicy[]
LAYOUT_POLICIES
Array with all available layout policies.static TabLayoutPolicy
SCROLLING
Scrolling layout policy.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TabLayoutPolicy[]
getLayoutPolicies()
Gets the tab layout policies.
-
-
-
Field Detail
-
SCROLLING
public static final TabLayoutPolicy SCROLLING
Scrolling layout policy. This means that the tabs are laid out in a line. The line of tabs will be scrollable if not all tabs can fit into the visible part of the tabbed panel's tab area at the same time.
-
COMPRESSION
public static final TabLayoutPolicy COMPRESSION
Compression layout policy. This means that the tabs are laid out in a line. The tabs will be downsized (compressed) so that they fit into the visible part of the tab area.
-
LAYOUT_POLICIES
public static final TabLayoutPolicy[] LAYOUT_POLICIES
Array with all available layout policies.
-
-
Method Detail
-
getLayoutPolicies
public static TabLayoutPolicy[] getLayoutPolicies()
Gets the tab layout policies.- Returns:
- the tab layout policies
- Since:
- ITP 1.1.0
-
-