com.jstatcom.model
Class SymbolEventTypes

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

public class SymbolEventTypes
extends java.lang.Object

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

Author:
Markus Kraetzig

Field Summary
static SymbolEventTypes EMPTY_STATE
          Fired if the underlying Symbol changed from empty to not empty or vice versa.
static SymbolEventTypes VALUE_CHANGED
          Fired if the values in underlying data object of Symbol have changed.
 
Method Summary
 boolean equals(java.lang.Object o)
          Override prevention method to enforce a.equals(b) if and only if a==b.
 int hashCode()
          Override prevention method invokes super method.
static java.util.Iterator iterator()
          Gets an iterator over all available types.
 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 SymbolEventTypes EMPTY_STATE
Fired if the underlying Symbol changed from empty to not empty or vice versa.


VALUE_CHANGED

public static final SymbolEventTypes VALUE_CHANGED
Fired if the values in underlying data object of Symbol have changed.

Method Detail

iterator

public static final java.util.Iterator iterator()
Gets an iterator over all available types.

Returns:
type iterator

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

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