org.netbeans.api.visual 2.17.1

org.netbeans.api.visual.action
Enum InplaceEditorProvider.EditorInvocationType

java.lang.Object
  extended by java.lang.Enum<InplaceEditorProvider.EditorInvocationType>
      extended by org.netbeans.api.visual.action.InplaceEditorProvider.EditorInvocationType
All Implemented Interfaces:
Serializable, Comparable<InplaceEditorProvider.EditorInvocationType>
Enclosing interface:
InplaceEditorProvider<C extends JComponent>

public static enum InplaceEditorProvider.EditorInvocationType
extends Enum<InplaceEditorProvider.EditorInvocationType>

Represents a type of in-place editor action invocation.

Since:
2.16

Enum Constant Summary
CODE
          Invoked by ActionFactory.getInplaceEditorController (inplaceEditorAction).openEditor(widget) method.
KEY
          Invoked by keyboard.
MOUSE
          Invoked by mouse.
 
Method Summary
static InplaceEditorProvider.EditorInvocationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InplaceEditorProvider.EditorInvocationType[] 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

MOUSE

public static final InplaceEditorProvider.EditorInvocationType MOUSE
Invoked by mouse.

Since:
2.16

KEY

public static final InplaceEditorProvider.EditorInvocationType KEY
Invoked by keyboard.

Since:
2.16

CODE

public static final InplaceEditorProvider.EditorInvocationType CODE
Invoked by ActionFactory.getInplaceEditorController (inplaceEditorAction).openEditor(widget) method.

Since:
2.16
Method Detail

values

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

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

valueOf

public static InplaceEditorProvider.EditorInvocationType 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

org.netbeans.api.visual 2.17.1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.