edu.brook.ascape.view
Class HistogramViewModel

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jclass.chart.ChartDataModel
              |
              +--edu.brook.ascape.view.ChartViewModel
                    |
                    +--edu.brook.ascape.view.HistogramViewModel

public class HistogramViewModel
extends ChartViewModel

A class managing data and display for a histogram chart. Requires KLGroup JCChart.

Since:
1.0
Version:
1.5
See Also:
Serialized Form

Fields inherited from class edu.brook.ascape.view.ChartViewModel
chart, dataSelection, name, scape
 
Constructor Summary
HistogramViewModel()
           
 
Method Summary
 java.util.Vector getRow(int row)
          Data method for JCChart.
 void initialize()
          Initialize view model, setting tyep, min, and max.
 void onUpdate()
          Update the chart, setting min.
 
Methods inherited from class edu.brook.ascape.view.ChartViewModel
addScape, getChart, getDataInterpretation, getDataItem, getDataSelection, getName, getNumRows, getPointLabels, getScape, getSeriesLabel, getSeriesName, onChange, onIterate, onSetup, onStart, onStop, removeScape, scapeUpdated, setChart, setDataItem, setDataSelection, setName, update, updateChart, updated
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramViewModel

public HistogramViewModel()
Method Detail

initialize

public void initialize()
Initialize view model, setting tyep, min, and max.
Overrides:
initialize in class ChartViewModel

onUpdate

public void onUpdate()
Update the chart, setting min.
Overrides:
onUpdate in class ChartViewModel

getRow

public java.util.Vector getRow(int row)
Data method for JCChart.
Overrides:
getRow in class jclass.chart.ChartDataModel

(c) 1998-2000 The Brookings Insitution
Webpage