com.jstatcom.model
Class JSCDataEventTypes

java.lang.Object
  extended by com.jstatcom.model.JSCDataEventTypes

public class JSCDataEventTypes
extends java.lang.Object

This enumeration contains all existing JSCDataEvent types, that a JSCDataListener can be registered to. If new data types are to be added, this class needs to be extended.

Usage Note:
The events that are fired by the JSCData objects are intended for internal communication only. Events do not occur in the EventDispatchingThread. Clients should rather listen to changes in JSCSymbol objects, especially if GUI related actions are performed.

Author:
Markus Kraetzig

Field Summary
static JSCDataEventTypes EMPTY_STATE
          Fired if the respective JSCData changed empty state.
static JSCDataEventTypes VALUE_CHANGED
          Fired if the respective JSCData has changed.
 
Method Summary
 boolean equals(java.lang.Object o)
          Override prevention method to enforce a.equals(b) if and only if a==b.
static JSCDataEventTypes[] getTypes()
          Gets a new JSCDataEventTypes array with all elements of this enumeration.
 int hashCode()
          Override prevention method invokes super method.
 java.lang.String toString()
          Gets string representation of this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_STATE

public static final JSCDataEventTypes EMPTY_STATE
Fired if the respective JSCData changed empty state.


VALUE_CHANGED

public static final JSCDataEventTypes VALUE_CHANGED
Fired if the respective JSCData has changed.

Method Detail

equals

public final boolean equals(java.lang.Object o)
Override prevention method to enforce a.equals(b) if and only if a==b.

Overrides:
equals in class java.lang.Object
Parameters:
o - object to compare with
Returns:
true if equal, false otherwise

getTypes

public static JSCDataEventTypes[] getTypes()
Gets a new JSCDataEventTypes array with all elements of this enumeration.

Returns:
JSCDataEventTypes[] array containing all types

hashCode

public final int hashCode()
Override prevention method invokes super method.

Overrides:
hashCode in class java.lang.Object
Returns:
hash code

toString

public final java.lang.String toString()
Gets string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a string