systeminformationmonitor.swing.model
Class IOMonitorModel

java.lang.Object
  extended by systeminformationmonitor.swing.model.IOMonitorModel
All Implemented Interfaces:
Monitor

public class IOMonitorModel
extends java.lang.Object
implements Monitor

IOMonitor model which binds a JFreeChart to a CategoryDataset.


Constructor Summary
IOMonitorModel(org.jfree.chart.JFreeChart chart, org.jfree.data.category.DefaultCategoryDataset dataset, boolean ioWriteInformation)
          Constructor which binds a chart to a dataset and specifies if the dataset is to monitor io reads or io writes.
 
Method Summary
 void initialize()
          Method called with this classes is added to CpuProcess.
 void update()
          Method called everytime the CpuProcess classes gets updated Cpu information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOMonitorModel

public IOMonitorModel(org.jfree.chart.JFreeChart chart,
                      org.jfree.data.category.DefaultCategoryDataset dataset,
                      boolean ioWriteInformation)
Constructor which binds a chart to a dataset and specifies if the dataset is to monitor io reads or io writes.

Parameters:
chart - JFreeChart to bind.
dataset - CategoryData to bind.
ioWriteInformation - True to monitor writes, False to monitor reads.
Method Detail

initialize

public void initialize()
Description copied from interface: Monitor
Method called with this classes is added to CpuProcess.

Specified by:
initialize in interface Monitor

update

public void update()
Description copied from interface: Monitor
Method called everytime the CpuProcess classes gets updated Cpu information.

Specified by:
update in interface Monitor