systeminformationmonitor.swing.model
Class CpuInformationModel

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

public class CpuInformationModel
extends java.lang.Object
implements Monitor

Cpu Information Model which registers with CpuProcess to grab the current Cpu information.


Constructor Summary
CpuInformationModel(CpuLiveInformation informationPanel)
          Constructor which binds the current model to the specified jpanel.
 
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

CpuInformationModel

public CpuInformationModel(CpuLiveInformation informationPanel)
Constructor which binds the current model to the specified jpanel.

Parameters:
informationPanel - Cpu graph panel to bind the model to.
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