|
LiveGraph data visualisation and analysis framework |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LiveGraph.gui.GUIManager
public class GUIManager
Field Summary | |
---|---|
private DataCache |
dataCache
The data cache that is used to provide data series information to new panels and also when constructing new Plotter objects
required for creating new PlotPanel s. |
Constructor Summary | |
---|---|
GUIManager()
Constructor doesn't do much. |
Method Summary | |
---|---|
javax.swing.JPanel |
createDataFileSettingsPanel()
|
javax.swing.JFrame |
createDataFileSettingsWindow()
Create a data file settings window and set-up its communication with other objects. |
javax.swing.JPanel |
createGraphSettingsPanel()
|
javax.swing.JFrame |
createGraphSettingsWindow()
Create a graph settings window and set-up its communication with other objects. |
javax.swing.JMenuBar |
createMainMenuBar()
Creates a new fully registered instance of a main menu bar. |
javax.swing.JPanel |
createMessagePanel()
|
javax.swing.JFrame |
createMessageWindow()
Create a message window and set-up its communication with other objects. |
javax.swing.JPanel |
createPlotPanel()
|
javax.swing.JFrame |
createPlotWindow()
Create a plot window and set-up its communication with other objects. |
javax.swing.JPanel |
createSeriesSettingsPanel()
|
javax.swing.JFrame |
createSeriesSettingsWindow()
Create a data series settings window and set-up its communication with other objects. |
void |
dataSeriesHighlighted(java.util.List<java.lang.Integer> hlSeries)
Notifies the listeners about the highlighted series. |
void |
disposeAllGUI()
Raises an event that requests all listening GUI components to call their dispose() methods. |
boolean |
eventProcessingException(Event<? extends EventType> event,
EventProcessingException exception)
... |
void |
eventProcessingFinished(Event<? extends EventType> event)
... |
boolean |
guiEventProcessingException(Event<GUIEvent> event,
EventProcessingException exception)
|
void |
guiEventProcessingFinished(Event<GUIEvent> event)
... |
void |
logErrorLn(java.lang.Object o)
Raises an event to inform listeners that an error message should be displayed. |
void |
logErrorLnModal(java.lang.Object o)
|
private void |
logErrorLnModal2(java.lang.Object o,
java.lang.Throwable ex)
|
void |
logInfoLn(java.lang.Object o)
Raises an event to inform listeners that an info message should be displayed. |
void |
logSuccessLn(java.lang.Object o)
Raises an event to inform listeners that a success message should be displayed. |
void |
setDataCache(DataCache cache)
Sets tha data cache that is used to provide data series information to new panels and also when constructing new Plotter objects
required for creating new PlotPanel s. |
void |
setDisplayDataFileSettingsWindows(boolean state)
Displays or hides the data file settings window. |
void |
setDisplayGraphSettingsWindows(boolean state)
Displays or hides the graph settings window. |
void |
setDisplayMessageWindows(boolean state)
Displays or hides the message window. |
void |
setDisplayPlotWindows(boolean state)
Displays or hides the plot window. |
void |
setDisplaySeriesSettingsWindows(boolean state)
Displays or hides the data series settings window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DataCache dataCache
Plotter
objects
required for creating new PlotPanel
s.
Constructor Detail |
---|
public GUIManager()
Method Detail |
---|
public void setDataCache(DataCache cache)
Plotter
objects
required for creating new PlotPanel
s.
cache
- public javax.swing.JMenuBar createMainMenuBar()
public javax.swing.JPanel createDataFileSettingsPanel()
public javax.swing.JPanel createGraphSettingsPanel()
public javax.swing.JPanel createSeriesSettingsPanel()
public javax.swing.JPanel createMessagePanel()
public javax.swing.JPanel createPlotPanel()
public javax.swing.JFrame createDataFileSettingsWindow()
public javax.swing.JFrame createGraphSettingsWindow()
public javax.swing.JFrame createSeriesSettingsWindow()
public javax.swing.JFrame createMessageWindow()
public javax.swing.JFrame createPlotWindow()
public void setDisplayMessageWindows(boolean state)
state
- Whether to display (true
) or to hide (false
).public void setDisplayDataFileSettingsWindows(boolean state)
state
- Whether to display (true
) or to hide (false
).public void setDisplayGraphSettingsWindows(boolean state)
state
- Whether to display (true
) or to hide (false
).public void setDisplaySeriesSettingsWindows(boolean state)
state
- Whether to display (true
) or to hide (false
).public void setDisplayPlotWindows(boolean state)
state
- Whether to display (true
) or to hide (false
).public void logInfoLn(java.lang.Object o)
o
- The message.public void logErrorLn(java.lang.Object o)
o
- The message.public void logErrorLnModal(java.lang.Object o)
private void logErrorLnModal2(java.lang.Object o, java.lang.Throwable ex)
public void logSuccessLn(java.lang.Object o)
o
- The message.public void dataSeriesHighlighted(java.util.List<java.lang.Integer> hlSeries)
hlSeries
- highlighted series indices.public void disposeAllGUI()
dispose()
methods.
public void eventProcessingFinished(Event<? extends EventType> event)
eventProcessingFinished
in interface EventProducer
event
- ... .public void guiEventProcessingFinished(Event<GUIEvent> event)
event
- ... .public boolean eventProcessingException(Event<? extends EventType> event, EventProcessingException exception)
eventProcessingException
in interface EventProducer
event
- ...exception
- ...
public boolean guiEventProcessingException(Event<GUIEvent> event, EventProcessingException exception)
|
LiveGraph data visualisation and analysis framework |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |