org.kemet.lf.components
Enum ToolBarsTypeEnum

java.lang.Object
  extended by java.lang.Enum<ToolBarsTypeEnum>
      extended by org.kemet.lf.components.ToolBarsTypeEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ToolBarsTypeEnum>

public enum ToolBarsTypeEnum
extends java.lang.Enum<ToolBarsTypeEnum>

Since:
0.4
Author:
fabricemaupin

ToolBarsTypeEnum : enumeration of possible toolbars. DRAGGABLE_BUTTONS : list of panels which contain draggable buttons, COMPLETE : list of buttons which can modify the content of BUTTONS panel, BUTTONS panel and footer panel.


Enum Constant Summary
BUTTONS
           
COMPLETE
           
 
Method Summary
 int value()
           return the value of enumeration.
static ToolBarsTypeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ToolBarsTypeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUTTONS

public static final ToolBarsTypeEnum BUTTONS

COMPLETE

public static final ToolBarsTypeEnum COMPLETE
Method Detail

values

public static ToolBarsTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ToolBarsTypeEnum c : ToolBarsTypeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ToolBarsTypeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

return the value of enumeration.

Returns:
value of enumeration
Since:
0.4


Copyright © 2008 F. MAUPIN. All Rights Reserved.