org.scijava.display.event
Enum DisplayUpdatedEvent.DisplayUpdateLevel

java.lang.Object
  extended by java.lang.Enum<DisplayUpdatedEvent.DisplayUpdateLevel>
      extended by org.scijava.display.event.DisplayUpdatedEvent.DisplayUpdateLevel
All Implemented Interfaces:
Serializable, Comparable<DisplayUpdatedEvent.DisplayUpdateLevel>
Enclosing class:
DisplayUpdatedEvent

public static enum DisplayUpdatedEvent.DisplayUpdateLevel
extends Enum<DisplayUpdatedEvent.DisplayUpdateLevel>

The display update level gives a hint about how much work needs to be done during the update.


Enum Constant Summary
REBUILD
          The extents and decorations have changed.
An example: stretching an image so it's height changes.
UPDATE
          The data has changed, but the extents and decorations have not.
An example: changing the intensity of a single pixel.
 
Method Summary
static DisplayUpdatedEvent.DisplayUpdateLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DisplayUpdatedEvent.DisplayUpdateLevel[] 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

UPDATE

public static final DisplayUpdatedEvent.DisplayUpdateLevel UPDATE
The data has changed, but the extents and decorations have not.
An example: changing the intensity of a single pixel.


REBUILD

public static final DisplayUpdatedEvent.DisplayUpdateLevel REBUILD
The extents and decorations have changed.
An example: stretching an image so it's height changes.

Method Detail

values

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

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

valueOf

public static DisplayUpdatedEvent.DisplayUpdateLevel 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 © 2009–2014 SciJava. All rights reserved.