com.flagstone.transform
Enum Event

java.lang.Object
  extended by java.lang.Enum<Event>
      extended by com.flagstone.transform.Event
All Implemented Interfaces:
Serializable, Comparable<Event>

public enum Event
extends Enum<Event>

Event is used to represent all the different types of event that a button or movie clips responds to.


Enum Constant Summary
CONSTRUCT
          The CONSTRUCT event occurs when a movie clip is dynamically created using actionscript.
DATA
          The DATA event occurs when a movie clip when the results of a GetUrl2 action have been loaded with the movie clip specified as the target.
DRAG_OUT
          The DRAG_OUT event occurs when the mouse button is clicked and the mouse cursor is dragged out of the active area of the button or movie clip.
DRAG_OVER
          The DRAG_OVER event occurs when the mouse button is clicked and the mouse cursor is dragged into the active area of the button.
ENTER_FRAME
          The ENTER_FRAME event occurs when the mouse enters the screen.
INITIALIZE
          The INITIALIZE event occurs when a movie clip has finished initializing.
KEY_DOWN
          The KEY_DOWN event occurs when a key is pressed on the keyboard.
KEY_PRESS
          The KEY_PRESS event occurs when the specified key on the keyboard is pressed.
KEY_UP
          The KEY_UP event occurs when a key is released on the keyboard.
LOAD
          The LOAD event occurs when a movie clip has finished loading.
MOUSE_DOWN
          The MOUSE_DOWN event occurs when the mouse left-button is clicked.
MOUSE_MOVE
          The MOUSE_MOVE event occurs when the mouse is moved.
MOUSE_UP
          The MOUSE_UP event occurs when the mouse left-button is released.
PRESS
          The PRESS event occurs when the mouse button is clicked while the mouse cursor is over the active area of the button or movie clip.
RELEASE
          The RELEASE event occurs when the mouse button is clicked and released while the mouse cursor is over the active area of the button or movie clip.
RELEASE_OUT
          The RELEASE_OUT event occurs when the mouse button is clicked, the mouse cursor is dragged into the active area of the button or movie clip and the mouse button is released.
ROLL_OUT
          The ROLL_OUT event occurs when the mouse cursor moves out of the active area of a button or movie clip.
ROLL_OVER
          The ROLL_OVER event that occurs when the mouse cursor moves over the active area of a button or movie clip.
UNLOAD
          The UNLOAD event occurs when a movie clip has been unloaded.
 
Method Summary
static Event valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Event[] 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

ROLL_OUT

public static final Event ROLL_OUT
The ROLL_OUT event occurs when the mouse cursor moves out of the active area of a button or movie clip.


ROLL_OVER

public static final Event ROLL_OVER
The ROLL_OVER event that occurs when the mouse cursor moves over the active area of a button or movie clip.


PRESS

public static final Event PRESS
The PRESS event occurs when the mouse button is clicked while the mouse cursor is over the active area of the button or movie clip.


RELEASE

public static final Event RELEASE
The RELEASE event occurs when the mouse button is clicked and released while the mouse cursor is over the active area of the button or movie clip.


DRAG_OUT

public static final Event DRAG_OUT
The DRAG_OUT event occurs when the mouse button is clicked and the mouse cursor is dragged out of the active area of the button or movie clip.


DRAG_OVER

public static final Event DRAG_OVER
The DRAG_OVER event occurs when the mouse button is clicked and the mouse cursor is dragged into the active area of the button.


RELEASE_OUT

public static final Event RELEASE_OUT
The RELEASE_OUT event occurs when the mouse button is clicked, the mouse cursor is dragged into the active area of the button or movie clip and the mouse button is released.


LOAD

public static final Event LOAD
The LOAD event occurs when a movie clip has finished loading.


ENTER_FRAME

public static final Event ENTER_FRAME
The ENTER_FRAME event occurs when the mouse enters the screen.


UNLOAD

public static final Event UNLOAD
The UNLOAD event occurs when a movie clip has been unloaded.


MOUSE_MOVE

public static final Event MOUSE_MOVE
The MOUSE_MOVE event occurs when the mouse is moved.


MOUSE_DOWN

public static final Event MOUSE_DOWN
The MOUSE_DOWN event occurs when the mouse left-button is clicked. Movie clips only.


MOUSE_UP

public static final Event MOUSE_UP
The MOUSE_UP event occurs when the mouse left-button is released. Movie clips only.


KEY_DOWN

public static final Event KEY_DOWN
The KEY_DOWN event occurs when a key is pressed on the keyboard. Movie clips only.


KEY_UP

public static final Event KEY_UP
The KEY_UP event occurs when a key is released on the keyboard. Movie clips only.


DATA

public static final Event DATA
The DATA event occurs when a movie clip when the results of a GetUrl2 action have been loaded with the movie clip specified as the target.


INITIALIZE

public static final Event INITIALIZE
The INITIALIZE event occurs when a movie clip has finished initializing.


KEY_PRESS

public static final Event KEY_PRESS
The KEY_PRESS event occurs when the specified key on the keyboard is pressed. Movie clips only.


CONSTRUCT

public static final Event CONSTRUCT
The CONSTRUCT event occurs when a movie clip is dynamically created using actionscript.

Method Detail

values

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

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

valueOf

public static Event 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 © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.