LiveGraph
data visualisation and analysis framework

org.LiveGraph.gui
Enum GUIEvent

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

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


Enum Constant Summary
GUI_DataFileSettingsDisplayStateChanged
           Info parameter Value getInfoBoolean() true (showing) or false (hidden) getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
GUI_DataSeriesHighlighted
           Info parameter Value getInfoBoolean() unspecified getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() a List&lt;Integer&gt;-object containing series indices of highlighted series
GUI_DataSeriesSettingsDisplayStateChanged
           Info parameter Value getInfoBoolean() true (showing) or false (hidden) getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
GUI_DisposeAll
           Info parameter Value getInfoBoolean() unspecified getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
GUI_GraphSettingsDisplayStateChanged
           Info parameter Value getInfoBoolean() true (showing) or false (hidden) getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
GUI_LogMessageError
          This event is raised by the GUIManager in response to the invokation of GUIManager.logErrorLn(Object) in order to notify all listeners who would like to log messages.
GUI_LogMessageInfo
          This event is raised by the GUIManager in response to the invokation of GUIManager.logInfoLn(Object) in order to notify all listeners who would like to log messages.
GUI_LogMessageSuccess
          This event is raised by the GUIManager in response to the invokation of GUIManager.logSuccessLn(Object) in order to notify all listeners who would like to log messages.
GUI_MessagesDisplayStateChanged
           Info parameter Value getInfoBoolean() true (showing) or false (hidden) getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
GUI_PlotDisplayStateChanged
           Info parameter Value getInfoBoolean() true (showing) or false (hidden) getInfoLong() unspecified getInfoDouble() unspecified getInfoObject() unspecified
 
Method Summary
static GUIEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GUIEvent[] 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

GUI_DataSeriesHighlighted

public static final GUIEvent GUI_DataSeriesHighlighted
Info parameter Value
getInfoBoolean() unspecified
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() a List&lt;Integer&gt;-object containing series indices of highlighted series


GUI_DataFileSettingsDisplayStateChanged

public static final GUIEvent GUI_DataFileSettingsDisplayStateChanged
Info parameter Value
getInfoBoolean() true (showing) or false (hidden)
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified


GUI_GraphSettingsDisplayStateChanged

public static final GUIEvent GUI_GraphSettingsDisplayStateChanged
Info parameter Value
getInfoBoolean() true (showing) or false (hidden)
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified


GUI_DataSeriesSettingsDisplayStateChanged

public static final GUIEvent GUI_DataSeriesSettingsDisplayStateChanged
Info parameter Value
getInfoBoolean() true (showing) or false (hidden)
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified


GUI_PlotDisplayStateChanged

public static final GUIEvent GUI_PlotDisplayStateChanged
Info parameter Value
getInfoBoolean() true (showing) or false (hidden)
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified


GUI_MessagesDisplayStateChanged

public static final GUIEvent GUI_MessagesDisplayStateChanged
Info parameter Value
getInfoBoolean() true (showing) or false (hidden)
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified


GUI_LogMessageSuccess

public static final GUIEvent GUI_LogMessageSuccess
This event is raised by the GUIManager in response to the invokation of GUIManager.logSuccessLn(Object) in order to notify all listeners who would like to log messages.
Info parameter Value
getInfoBoolean() unspecified
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() The String to log


GUI_LogMessageError

public static final GUIEvent GUI_LogMessageError
This event is raised by the GUIManager in response to the invokation of GUIManager.logErrorLn(Object) in order to notify all listeners who would like to log messages. It can be considered crucial that every error message does eventually get logged. In oder to notify the GUIManager that the error message was actually logged or displayed, an EventListener that successfully processed an event of this type must attach an annotation to the event, with the annotation info being an object of type Boolean representing the value true. After the event has been processed by all listeners, GUIManager will examine all annotations of the event. If it can find one or more annotations with the info-object being a Boolean that evaluates to true, it will do nothing. Otherwise it it assume that the error message was not diaplayed/logged. In that case it will immediately display a modal dialog with the error message and also write the message to System.err.
Note that this procedure does not apply to GUI_LogMessageSuccess and GUI_LogMessageInfo events as it is assumed that they are less crucial and it is up to the application whether they should be displayed.
Info parameter Value
getInfoBoolean() unspecified
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() The String to log


GUI_LogMessageInfo

public static final GUIEvent GUI_LogMessageInfo
This event is raised by the GUIManager in response to the invokation of GUIManager.logInfoLn(Object) in order to notify all listeners who would like to log messages.
Info parameter Value
getInfoBoolean() unspecified
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() The String to log


GUI_DisposeAll

public static final GUIEvent GUI_DisposeAll
Info parameter Value
getInfoBoolean() unspecified
getInfoLong() unspecified
getInfoDouble() unspecified
getInfoObject() unspecified

Method Detail

values

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

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

valueOf

public static GUIEvent 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