org.micropainter.ext.incub.bar4
Class BarType4GraphPainter

java.lang.Object
  extended by org.micropainter.core.painter.AbstractDevice2DPainter
      extended by org.micropainter.ext.incub.bar4.BarType4GraphPainter

public class BarType4GraphPainter
extends AbstractDevice2DPainter


Field Summary
private  java.util.Vector<Bar4> bars
           
private  double currentValue
           
private  java.awt.Paint paintHigh
           
private  java.awt.Paint paintLow
           
private  java.awt.Paint paintMedium
           
 
Constructor Summary
BarType4GraphPainter()
           
 
Method Summary
 void addBar(Bar4 bar)
           
 void doPaint(java.awt.Graphics2D g2d)
          painting operation should be sub classes
 void setCurentValue(double value)
           
 
Methods inherited from class org.micropainter.core.painter.AbstractDevice2DPainter
getAntialiasing, getFractional, getInterpolation, getName, getTextAntialiasing, getWindow2D, isLockPainter, lockPainter, paint, setAntialiasing, setFractional, setInterpolation, setName, setTextAntialiasing, setWindow2D, unlockPainter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bars

private java.util.Vector<Bar4> bars

currentValue

private double currentValue

paintLow

private java.awt.Paint paintLow

paintMedium

private java.awt.Paint paintMedium

paintHigh

private java.awt.Paint paintHigh
Constructor Detail

BarType4GraphPainter

public BarType4GraphPainter()
Method Detail

addBar

public void addBar(Bar4 bar)

setCurentValue

public void setCurentValue(double value)

doPaint

public void doPaint(java.awt.Graphics2D g2d)
Description copied from class: AbstractDevice2DPainter
painting operation should be sub classes

Specified by:
doPaint in class AbstractDevice2DPainter