LiveGraph
data visualisation and analysis framework

org.LiveGraph.dataCache
Enum CacheEvent

java.lang.Object
  extended by java.lang.Enum<CacheEvent>
      extended by org.LiveGraph.dataCache.CacheEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CacheEvent>, EventType

public enum CacheEvent
extends java.lang.Enum<CacheEvent>
implements EventType

Defines cache event types. Currently, no info parameters are associated with events of these types.

LiveGraph (http://www.live-graph.org).

Copyright (c) 2007-2008 by G. Paperin.

File: CacheEvent.java

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following terms and conditions are met:

1. Redistributions of source code must retain the above acknowledgement of the LiveGraph project and its web-site, the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above acknowledgement of the LiveGraph project and its web-site, the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software or any derived software must display the following acknowledgement:
This product includes software developed by the LiveGraph project and its contributors.
(http://www.live-graph.org)

4. All advertising materials distributed in form of HTML pages or any other technology permitting active hyper-links that mention features or use of this software or any derived software must display the acknowledgment specified in condition 3 of this agreement, and in addition, include a visible and working hyper-link to the LiveGraph homepage (http://www.live-graph.org).

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version:
"2.0.beta01"
Author:
Greg Paperin (http://www.paperin.org)

Enum Constant Summary
CACHE_ChangedMode
          ChangeMode
CACHE_UpdatedData
          UpdateData
CACHE_UpdatedDataFileInfo
          UpdateDataFileInfo
CACHE_UpdatedLabels
          UpdateLabels
 
Method Summary
static CacheEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CacheEvent[] 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

CACHE_UpdatedDataFileInfo

public static final CacheEvent CACHE_UpdatedDataFileInfo
UpdateDataFileInfo


CACHE_UpdatedLabels

public static final CacheEvent CACHE_UpdatedLabels
UpdateLabels


CACHE_UpdatedData

public static final CacheEvent CACHE_UpdatedData
UpdateData


CACHE_ChangedMode

public static final CacheEvent CACHE_ChangedMode
ChangeMode

Method Detail

values

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

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

valueOf

public static CacheEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

LiveGraph
data visualisation and analysis framework