Enum Class TabPlacement
- All Implemented Interfaces:
Serializable
,Comparable<TabPlacement>
,Constable
Tab Placement is used to determine where tabs should be placed in a Tabbed Form.
- Version:
- Alpha v.0.3.3
- Author:
- Logan Ferree (Tadukoo)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
The int value used to represent the placement option -
Constructor Summary
ModifierConstructorDescriptionprivate
TabPlacement
(int value) Constructs a new Tab Placement with the given value -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static TabPlacement
Returns the enum constant of this class with the specified name.static TabPlacement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
Tabs are placed at the top of the form -
BOTTOM
Tabs are placed at the bottom of the form -
LEFT
Tabs are placed to the left of the form -
RIGHT
Tabs are placed to the right of the form
-
-
Field Details
-
value
private final int valueThe int value used to represent the placement option
-
-
Constructor Details
-
TabPlacement
private TabPlacement(int value) Constructs a new Tab Placement with the given value- Parameters:
value
- The int value used to represent the placement option
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()- Returns:
- The int value used to represent the placement option
-