org.netbeans.spi.viewmodel/2 1.32.1

org.netbeans.spi.viewmodel
Enum AsynchronousModelFilter.CALL

java.lang.Object
  extended by java.lang.Enum<AsynchronousModelFilter.CALL>
      extended by org.netbeans.spi.viewmodel.AsynchronousModelFilter.CALL
All Implemented Interfaces:
Serializable, Comparable<AsynchronousModelFilter.CALL>
Enclosing interface:
AsynchronousModelFilter

public static enum AsynchronousModelFilter.CALL
extends Enum<AsynchronousModelFilter.CALL>

This enumeration identifies method(s) of view models for which threading information is provided by AsynchronousModelFilter.asynchronous(java.util.concurrent.Executor, org.netbeans.spi.viewmodel.AsynchronousModelFilter.CALL, java.lang.Object) method.
CHILDREN for TreeModel.getChildrenCount() and TreeModel.getChildren()
DISPLAY_NAME is for NodeModel.getDisplayName() and ExtendedNodeModel.setName()
SHORT_DESCRIPTION for NodeModel.getShortDescription()
VALUE for TableModel.getValueAt() and TableModel.setValueAt()
The rest of the methods on models are called synchronously, or additional enums can be added in the future.


Enum Constant Summary
CHILDREN
           
DISPLAY_NAME
           
SHORT_DESCRIPTION
           
VALUE
           
 
Method Summary
static AsynchronousModelFilter.CALL valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AsynchronousModelFilter.CALL[] 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

CHILDREN

public static final AsynchronousModelFilter.CALL CHILDREN

DISPLAY_NAME

public static final AsynchronousModelFilter.CALL DISPLAY_NAME

SHORT_DESCRIPTION

public static final AsynchronousModelFilter.CALL SHORT_DESCRIPTION

VALUE

public static final AsynchronousModelFilter.CALL VALUE
Method Detail

values

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

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

valueOf

public static AsynchronousModelFilter.CALL 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.spi.viewmodel/2 1.32.1

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