Servoy 5.x Public API

com.servoy.j2db.scripting
Enum JSEvent.EventType

java.lang.Object
  extended by java.lang.Enum<JSEvent.EventType>
      extended by com.servoy.j2db.scripting.JSEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<JSEvent.EventType>
Enclosing class:
JSEvent

public static enum JSEvent.EventType
extends Enum<JSEvent.EventType>


Enum Constant Summary
action
           
dataChange
           
doubleClick
           
focusGained
           
focusLost
           
form
           
none
           
onDrag
           
onDragOver
           
onDrop
           
rightClick
           
 
Method Summary
static JSEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JSEvent.EventType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

action

public static final JSEvent.EventType action

dataChange

public static final JSEvent.EventType dataChange

doubleClick

public static final JSEvent.EventType doubleClick

focusGained

public static final JSEvent.EventType focusGained

focusLost

public static final JSEvent.EventType focusLost

form

public static final JSEvent.EventType form

none

public static final JSEvent.EventType none

onDrag

public static final JSEvent.EventType onDrag

onDragOver

public static final JSEvent.EventType onDragOver

onDrop

public static final JSEvent.EventType onDrop

rightClick

public static final JSEvent.EventType rightClick
Method Detail

valueOf

public static JSEvent.EventType 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

values

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

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

Copyright © 2010 Servoy B.V.