public static final enum

StateTrackable.State

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ sun.java2d.StateTrackable.State

Class Overview

An enumeration describing the current state of a trackable object. These values describe how often the complex data contained in a trackable object can be changed and whether or not it makes sense to try to track the data in its current state.

See Also

Summary

Enum Values
StateTrackable.State  DYNAMIC  The complex data is currently in flux and is frequently changing. 
StateTrackable.State  IMMUTABLE  The complex data will never change again. 
StateTrackable.State  STABLE  The complex data is currently stable, but could change at some point in the future. 
StateTrackable.State  UNTRACKABLE  The complex data can currently be changed by external references and agents in a way that cannot be tracked. 
Public Methods
static StateTrackable.State valueOf(String name)
final static State[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final StateTrackable.State DYNAMIC

The complex data is currently in flux and is frequently changing. While information related to the current contents of the complex data could be calculated and cached, there is a reasonably high probability that the cached information would be found to be out of date by the next time it is used. It may also be the case that the current contents are temporarily untrackable, but that they may become trackable again in the future.

public static final StateTrackable.State IMMUTABLE

The complex data will never change again. Information related to the current contents of the complex data can be calculated and cached indefinitely with no further checks to see if the information is stale.

public static final StateTrackable.State STABLE

The complex data is currently stable, but could change at some point in the future. Information related to the current contents of the complex data can be calculated and cached, but a StateTracker should be used to verify the freshness of such precalculated data before each future use.

public static final StateTrackable.State UNTRACKABLE

The complex data can currently be changed by external references and agents in a way that cannot be tracked. If any information about the current contents of the complex data were to be cached, there would be no way to determine whether or not that cached information was out of date.

Public Methods

public static StateTrackable.State valueOf (String name)

public static final State[] values ()