net.infonode.tabbedpanel.titledtab
Class TitledTabSizePolicy

java.lang.Object
  extended by net.infonode.util.Enum
      extended by net.infonode.tabbedpanel.titledtab.TitledTabSizePolicy
All Implemented Interfaces:
java.io.Serializable, Writable

public final class TitledTabSizePolicy
extends Enum

TitledTabSizePolicy defines how TitledTab should calculate its size. If the different tab states results in different tab sizes, then TitledTab can calculate the maximum size for the states and use that size for all the states.

Version:
$Revision: 1.6 $
Author:
$Author: jesper $
See Also:
Serialized Form

Field Summary
static TitledTabSizePolicy EQUAL_SIZE
          Equal size policy.
static TitledTabSizePolicy INDIVIDUAL_SIZE
          Individual size policy.
private static long serialVersionUID
           
static TitledTabSizePolicy[] SIZE_POLICIES
          An array with all size policies.
 
Constructor Summary
private TitledTabSizePolicy(int value, java.lang.String name)
           
 
Method Summary
static TitledTabSizePolicy[] getSizePolicies()
          Gets the size 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

EQUAL_SIZE

public static final TitledTabSizePolicy EQUAL_SIZE
Equal size policy. This menas that if the different tab states results in different tab sizes, then titled tab will calculate the maximum size for the states and use that size for all the states.


INDIVIDUAL_SIZE

public static final TitledTabSizePolicy INDIVIDUAL_SIZE
Individual size policy. This means that if the different tab states have different sizes then titled tab will have different size for the states.


SIZE_POLICIES

public static final TitledTabSizePolicy[] SIZE_POLICIES
An array with all size policies.

Constructor Detail

TitledTabSizePolicy

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

getSizePolicies

public static TitledTabSizePolicy[] getSizePolicies()
Gets the size policies.

Returns:
the size policies
Since:
ITP 1.1.0