org.netbeans.spi.viewmodel
Enum AsynchronousModelFilter.CALL
java.lang.Object
java.lang.Enum<AsynchronousModelFilter.CALL>
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.
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
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