de.lessvoid.nifty.effects
Enum EffectEventId

java.lang.Object
  extended by java.lang.Enum<EffectEventId>
      extended by de.lessvoid.nifty.effects.EffectEventId
All Implemented Interfaces:
Serializable, Comparable<EffectEventId>

public enum EffectEventId
extends Enum<EffectEventId>

possible effect event id's that you can attach effects too.

Author:
void

Enum Constant Summary
onActive
           
onClick
           
onCustom
           
onDisabled
           
onEnabled
           
onEndHover
           
onEndScreen
           
onFocus
           
onGetFocus
           
onHide
           
onHover
           
onLostFocus
           
onShow
           
onStartHover
           
onStartScreen
           
 
Method Summary
static EffectEventId valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EffectEventId[] 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

onStartScreen

public static final EffectEventId onStartScreen

onEndScreen

public static final EffectEventId onEndScreen

onFocus

public static final EffectEventId onFocus

onGetFocus

public static final EffectEventId onGetFocus

onLostFocus

public static final EffectEventId onLostFocus

onClick

public static final EffectEventId onClick

onHover

public static final EffectEventId onHover

onStartHover

public static final EffectEventId onStartHover

onEndHover

public static final EffectEventId onEndHover

onActive

public static final EffectEventId onActive

onCustom

public static final EffectEventId onCustom

onHide

public static final EffectEventId onHide

onShow

public static final EffectEventId onShow

onEnabled

public static final EffectEventId onEnabled

onDisabled

public static final EffectEventId onDisabled
Method Detail

values

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

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

valueOf

public static EffectEventId 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.