org.vectomatic.dom.svg.ui
Enum SVGButtonBase.SVGFaceName

java.lang.Object
  extended by java.lang.Enum<SVGButtonBase.SVGFaceName>
      extended by org.vectomatic.dom.svg.ui.SVGButtonBase.SVGFaceName
All Implemented Interfaces:
Serializable, Comparable<SVGButtonBase.SVGFaceName>
Enclosing class:
SVGButtonBase

public static enum SVGButtonBase.SVGFaceName
extends Enum<SVGButtonBase.SVGFaceName>

Enum to represent the possible states of an SVG button

Author:
laaglu

Enum Constant Summary
DOWN
          face shown when button is down
DOWN_DISABLED
          face shown when button is down and disabled
DOWN_HOVERING
          face shown when the cursor is hovering over a down enabled button
UP
          face shown when button is up
UP_DISABLED
          face shown when button is up and disabled
UP_HOVERING
          face shown when the cursor is hovering over an up enabled button
 
Method Summary
static SVGButtonBase.SVGFaceName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SVGButtonBase.SVGFaceName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UP

public static final SVGButtonBase.SVGFaceName UP
face shown when button is up


UP_DISABLED

public static final SVGButtonBase.SVGFaceName UP_DISABLED
face shown when button is up and disabled


UP_HOVERING

public static final SVGButtonBase.SVGFaceName UP_HOVERING
face shown when the cursor is hovering over an up enabled button


DOWN

public static final SVGButtonBase.SVGFaceName DOWN
face shown when button is down


DOWN_DISABLED

public static final SVGButtonBase.SVGFaceName DOWN_DISABLED
face shown when button is down and disabled


DOWN_HOVERING

public static final SVGButtonBase.SVGFaceName DOWN_HOVERING
face shown when the cursor is hovering over a down enabled button

Method Detail

values

public static SVGButtonBase.SVGFaceName[] 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 (SVGButtonBase.SVGFaceName c : SVGButtonBase.SVGFaceName.values())
    System.out.println(c);

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

valueOf

public static SVGButtonBase.SVGFaceName valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.