org.efaps.ui.wicket.components.button
Enum Button.ICON

java.lang.Object
  extended by java.lang.Enum<Button.ICON>
      extended by org.efaps.ui.wicket.components.button.Button.ICON
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Button.ICON>
Enclosing class:
Button

public static enum Button.ICON
extends java.lang.Enum<Button.ICON>

Reference to an icon in the eFaps Database.


Enum Constant Summary
ACCEPT
          accept.png.
CANCEL
          cancel.png.
DELETE
          delete.png.
NEXT
          next.png.
PREVIOUS
          previous.
 
Method Summary
 EFapsContentReference getReference()
          Getter method for the instance variable reference.
static Button.ICON valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Button.ICON[] 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

ACCEPT

public static final Button.ICON ACCEPT
accept.png.


CANCEL

public static final Button.ICON CANCEL
cancel.png.


DELETE

public static final Button.ICON DELETE
delete.png.


NEXT

public static final Button.ICON NEXT
next.png.


PREVIOUS

public static final Button.ICON PREVIOUS
previous.

Method Detail

values

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

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

valueOf

public static Button.ICON 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

getReference

public EFapsContentReference getReference()
Getter method for the instance variable reference.

Returns:
value of instance variable reference


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.