org.netbeans.api.visual 2.21.1

org.netbeans.api.visual.model
Enum ObjectSceneEventType

java.lang.Object
  extended by java.lang.Enum<ObjectSceneEventType>
      extended by org.netbeans.api.visual.model.ObjectSceneEventType
All Implemented Interfaces:
Serializable, Comparable<ObjectSceneEventType>

public enum ObjectSceneEventType
extends Enum<ObjectSceneEventType>

This enum is used for specifying events in which an object scene listener is interested.


Enum Constant Summary
OBJECT_ADDED
          Related to ObjectSceneListener.objectAdded method.
OBJECT_FOCUS_CHANGED
          Related to ObjectSceneListener.focusChanged method.
OBJECT_HIGHLIGHTING_CHANGED
          Related to ObjectSceneListener.highlightingChanged method.
OBJECT_HOVER_CHANGED
          Related to ObjectSceneListener.hoverChanged method.
OBJECT_REMOVED
          Related to ObjectSceneListener.objectRemoved method.
OBJECT_SELECTION_CHANGED
          Related to ObjectSceneListener.selectionChanged method.
OBJECT_STATE_CHANGED
          Related to ObjectSceneListener.objectStateChanged method.
 
Method Summary
static ObjectSceneEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ObjectSceneEventType[] 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

OBJECT_ADDED

public static final ObjectSceneEventType OBJECT_ADDED
Related to ObjectSceneListener.objectAdded method.


OBJECT_REMOVED

public static final ObjectSceneEventType OBJECT_REMOVED
Related to ObjectSceneListener.objectRemoved method.


OBJECT_STATE_CHANGED

public static final ObjectSceneEventType OBJECT_STATE_CHANGED
Related to ObjectSceneListener.objectStateChanged method.


OBJECT_SELECTION_CHANGED

public static final ObjectSceneEventType OBJECT_SELECTION_CHANGED
Related to ObjectSceneListener.selectionChanged method.


OBJECT_HIGHLIGHTING_CHANGED

public static final ObjectSceneEventType OBJECT_HIGHLIGHTING_CHANGED
Related to ObjectSceneListener.highlightingChanged method.


OBJECT_HOVER_CHANGED

public static final ObjectSceneEventType OBJECT_HOVER_CHANGED
Related to ObjectSceneListener.hoverChanged method.


OBJECT_FOCUS_CHANGED

public static final ObjectSceneEventType OBJECT_FOCUS_CHANGED
Related to ObjectSceneListener.focusChanged method.

Method Detail

values

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

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

valueOf

public static ObjectSceneEventType 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

org.netbeans.api.visual 2.21.1

Built on December 28 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.