MOA 12.03
Real Time Analytics for Data Streams
moa.gui.PreviewPanel Class Reference

This panel displays the running task preview text and buttons. More...

Inheritance diagram for moa.gui.PreviewPanel:
Collaboration diagram for moa.gui.PreviewPanel:

List of all members.

Public Member Functions

 PreviewPanel ()
void refresh ()
void setTaskThreadToPreview (TaskThread thread)
void setLatestPreview (Object preview)
void updateAutoRefreshTimer ()
void disableRefresh ()
void enableRefresh ()
void latestPreviewChanged ()
 This method is used to receive a signal from TaskMonitor that the lastest preview has changed.

Static Public Attributes

static final String[] autoFreqStrings
static final int[] autoFreqTimeSecs = {0, 1, 5, 10, 30, 60}

Protected Attributes

TaskThread previewedThread
JLabel previewLabel = new JLabel("No preview available")
JButton refreshButton = new JButton("Refresh")
JLabel autoRefreshLabel = new JLabel("Auto refresh: ")
JComboBox autoRefreshComboBox = new JComboBox(autoFreqStrings)
TaskTextViewerPanel textViewerPanel = new TaskTextViewerPanel()
javax.swing.Timer autoRefreshTimer

Detailed Description

This panel displays the running task preview text and buttons.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 41 of file PreviewPanel.java.


Constructor & Destructor Documentation

moa.gui.PreviewPanel.PreviewPanel ( )

Definition at line 65 of file PreviewPanel.java.

Here is the call graph for this function:


Member Function Documentation

void moa.gui.PreviewPanel.disableRefresh ( )

Definition at line 156 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.refresh(), moa.gui.PreviewPanel.setLatestPreview(), and moa.gui.PreviewPanel.setTaskThreadToPreview().

Here is the caller graph for this function:

void moa.gui.PreviewPanel.enableRefresh ( )

Definition at line 163 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.setTaskThreadToPreview().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.gui.PreviewPanel.latestPreviewChanged ( )

This method is used to receive a signal from TaskMonitor that the lastest preview has changed.

This method is implemented in PreviewPanel to change the results that are shown in its panel.

Implements moa.tasks.ResultPreviewListener.

Definition at line 171 of file PreviewPanel.java.

Here is the call graph for this function:

void moa.gui.PreviewPanel.refresh ( )

Definition at line 100 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.PreviewPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.gui.PreviewPanel.setLatestPreview ( Object  preview)

Definition at line 122 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.refresh(), and moa.gui.PreviewPanel.setTaskThreadToPreview().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.gui.PreviewPanel.setTaskThreadToPreview ( TaskThread  thread)

Definition at line 111 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.latestPreviewChanged(), moa.gui.PreviewPanel.PreviewPanel(), and moa.gui.TaskManagerPanel.taskSelectionChanged().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.gui.PreviewPanel.updateAutoRefreshTimer ( )

Definition at line 143 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.enableRefresh(), and moa.gui.PreviewPanel.PreviewPanel().

Here is the caller graph for this function:


Member Data Documentation

final String [] moa.gui.PreviewPanel.autoFreqStrings [static]
Initial value:
 {"never", "every second",
        "every 5 seconds", "every 10 seconds", "every 30 seconds",
        "every minute"}

Definition at line 45 of file PreviewPanel.java.

final int [] moa.gui.PreviewPanel.autoFreqTimeSecs = {0, 1, 5, 10, 30, 60} [static]

Definition at line 49 of file PreviewPanel.java.

Referenced by moa.gui.PreviewPanel.updateAutoRefreshTimer().

JLabel moa.gui.PreviewPanel.previewLabel = new JLabel("No preview available") [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations