Class TabLayoutPolicy

  extended by net.infonode.util.Enum
      extended by net.infonode.tabbedpanel.TabLayoutPolicy
All Implemented Interfaces:, Writable

public final class TabLayoutPolicy
extends Enum

TabLayoutPolicy defines how the tabs in a tabbed panel's tab area can be laid out.

$Revision: 1.9 $
$Author: jesper $
See Also:
TabbedPanel, TabbedPanelProperties, Serialized Form

Field Summary
static TabLayoutPolicy COMPRESSION
          Compression layout policy.
static TabLayoutPolicy[] LAYOUT_POLICIES
          Array with all available layout policies.
static TabLayoutPolicy SCROLLING
          Scrolling layout policy.
private static long serialVersionUID
Constructor Summary
private TabLayoutPolicy(int value, java.lang.String name)
Method Summary
static TabLayoutPolicy[] getLayoutPolicies()
          Gets the tab layout policies.
Methods inherited from class net.infonode.util.Enum
decode, getName, getObject, getValue, readResolve, toString, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


private static final long serialVersionUID
See Also:
Constant Field Values


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.


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.


public static final TabLayoutPolicy[] LAYOUT_POLICIES
Array with all available layout policies.

Constructor Detail


private TabLayoutPolicy(int value,
                        java.lang.String name)
Method Detail


public static TabLayoutPolicy[] getLayoutPolicies()
Gets the tab layout policies.

the tab layout policies
ITP 1.1.0