Viz
Class VizPanelMgr

java.lang.Object
  extended byViz.VizPanelMgr
All Implemented Interfaces:
VizPanelControl, VizPanelListener

public class VizPanelMgr
extends java.lang.Object
implements VizPanelControl, VizPanelListener

Author:
Lior Berry UBC

Constructor Summary
VizPanelMgr()
           
 
Method Summary
 void AddPanel(int vizType)
           
 void AttachToUI(javax.swing.JFrame ownerFrame, DataSet inDataSet, UIControls inCtrls)
           
 void ClearAllMarks()
           
 void ConnectLinesChanged(boolean newVal)
           
 void CurrencySelectionChanged(int inSeries, java.lang.String inCurrency)
           
 void DeclineActivePanel(VizPanel inPanel)
           
 void DisplayMinMaxChanged(boolean newVal)
           
 void DisplayStdDevChanged(boolean newVal)
           
 void DoRepaint(boolean doNotify)
           
 java.awt.Color GetColorForSeries(int seriesIndex)
           
 int GetMode()
           
 int GetNumPanels()
           
 VizPanel GetPanel(int index)
           
 void Init()
           
 void MarkAll()
           
 void NotifyOnBinInfoChange(VizPanel inPanel, int newIntervalInFocus, int focusPeriodLength)
           
 void NotifyOnClusteringStatusChange(VizPanel inPanel)
           
 void NotifyOnDaysShiftChange(VizPanel inPanel, int newDaysShift)
           
 void NotifyOnRepaint(VizPanel inPanel)
           
 void NotifyOnUpdateBinSize(VizPanel inPane, int newBinSize)
           
 void OverlaySecondCurrencyChanged(boolean newVal)
           
 void RequestActivePanel(VizPanel inPanel)
           
 void ReverseMarks()
           
 void SetClusterVizPanel(ClusterVizPanel panel, javax.swing.JCheckBoxMenuItem panelVizMenuItem)
           
 void SetColorForSeries(int seriesIndex, java.awt.Color inColor)
           
 void SetData(DataSet inDataSet)
           
 void SetIsLinked(boolean inLinkState)
           
 void SetMode(int newMode)
           
 void SetScatterPlotPanel(ScatterPlotPanel panel, javax.swing.JCheckBoxMenuItem panelVizMenuItem)
           
 void SetScatterPlotUseMarkedData(boolean newValue)
           
 void SetShowClusterViewer(boolean newValue)
           
 void SetShowScatterPlot(boolean newValue)
           
 void ShowBinSize(boolean newVal)
           
 void ShowMarksChanged(boolean newMode)
           
 void ShowSecondCurrencyChanged(boolean newVal)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VizPanelMgr

public VizPanelMgr()
Method Detail

SetData

public void SetData(DataSet inDataSet)

AddPanel

public void AddPanel(int vizType)

SetScatterPlotPanel

public void SetScatterPlotPanel(ScatterPlotPanel panel,
                                javax.swing.JCheckBoxMenuItem panelVizMenuItem)

SetClusterVizPanel

public void SetClusterVizPanel(ClusterVizPanel panel,
                               javax.swing.JCheckBoxMenuItem panelVizMenuItem)

GetPanel

public VizPanel GetPanel(int index)

GetNumPanels

public int GetNumPanels()

Init

public void Init()
Specified by:
Init in interface VizPanelControl

AttachToUI

public void AttachToUI(javax.swing.JFrame ownerFrame,
                       DataSet inDataSet,
                       UIControls inCtrls)

CurrencySelectionChanged

public void CurrencySelectionChanged(int inSeries,
                                     java.lang.String inCurrency)
Specified by:
CurrencySelectionChanged in interface VizPanelControl

ShowSecondCurrencyChanged

public void ShowSecondCurrencyChanged(boolean newVal)
Specified by:
ShowSecondCurrencyChanged in interface VizPanelControl

OverlaySecondCurrencyChanged

public void OverlaySecondCurrencyChanged(boolean newVal)
Specified by:
OverlaySecondCurrencyChanged in interface VizPanelControl

DisplayStdDevChanged

public void DisplayStdDevChanged(boolean newVal)
Specified by:
DisplayStdDevChanged in interface VizPanelControl

DisplayMinMaxChanged

public void DisplayMinMaxChanged(boolean newVal)
Specified by:
DisplayMinMaxChanged in interface VizPanelControl

ConnectLinesChanged

public void ConnectLinesChanged(boolean newVal)
Specified by:
ConnectLinesChanged in interface VizPanelControl

ShowBinSize

public void ShowBinSize(boolean newVal)
Specified by:
ShowBinSize in interface VizPanelControl

ShowMarksChanged

public void ShowMarksChanged(boolean newMode)
Specified by:
ShowMarksChanged in interface VizPanelControl

MarkAll

public void MarkAll()
Specified by:
MarkAll in interface VizPanelControl

ClearAllMarks

public void ClearAllMarks()
Specified by:
ClearAllMarks in interface VizPanelControl

ReverseMarks

public void ReverseMarks()
Specified by:
ReverseMarks in interface VizPanelControl

GetColorForSeries

public java.awt.Color GetColorForSeries(int seriesIndex)
Specified by:
GetColorForSeries in interface VizPanelControl

SetColorForSeries

public void SetColorForSeries(int seriesIndex,
                              java.awt.Color inColor)
Specified by:
SetColorForSeries in interface VizPanelControl

GetMode

public int GetMode()
Specified by:
GetMode in interface VizPanelControl

SetMode

public void SetMode(int newMode)
Specified by:
SetMode in interface VizPanelControl

RequestActivePanel

public void RequestActivePanel(VizPanel inPanel)
Specified by:
RequestActivePanel in interface VizPanelListener

DeclineActivePanel

public void DeclineActivePanel(VizPanel inPanel)
Specified by:
DeclineActivePanel in interface VizPanelListener

NotifyOnDaysShiftChange

public void NotifyOnDaysShiftChange(VizPanel inPanel,
                                    int newDaysShift)
Specified by:
NotifyOnDaysShiftChange in interface VizPanelListener

NotifyOnBinInfoChange

public void NotifyOnBinInfoChange(VizPanel inPanel,
                                  int newIntervalInFocus,
                                  int focusPeriodLength)
Specified by:
NotifyOnBinInfoChange in interface VizPanelListener

DoRepaint

public void DoRepaint(boolean doNotify)
Specified by:
DoRepaint in interface VizPanelControl

NotifyOnRepaint

public void NotifyOnRepaint(VizPanel inPanel)
Specified by:
NotifyOnRepaint in interface VizPanelListener

NotifyOnUpdateBinSize

public void NotifyOnUpdateBinSize(VizPanel inPane,
                                  int newBinSize)
Specified by:
NotifyOnUpdateBinSize in interface VizPanelListener

NotifyOnClusteringStatusChange

public void NotifyOnClusteringStatusChange(VizPanel inPanel)
Specified by:
NotifyOnClusteringStatusChange in interface VizPanelListener

SetIsLinked

public void SetIsLinked(boolean inLinkState)
Specified by:
SetIsLinked in interface VizPanelControl

SetShowScatterPlot

public void SetShowScatterPlot(boolean newValue)

SetShowClusterViewer

public void SetShowClusterViewer(boolean newValue)

SetScatterPlotUseMarkedData

public void SetScatterPlotUseMarkedData(boolean newValue)