org.micropainter.ext.bar.incubator
Class Bar

java.lang.Object
  extended by org.micropainter.ext.bar.incubator.BarComponent
      extended by org.micropainter.ext.bar.incubator.Bar

public class Bar
extends BarComponent


Field Summary
private  double base
           
private  java.awt.Color themeColor
           
private  double value
           
 
Fields inherited from class org.micropainter.ext.bar.incubator.BarComponent
width
 
Constructor Summary
Bar()
           
Bar(java.awt.Color themeColor, double width, double value, double base)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 double getBase()
           
 java.awt.Color getThemeColor()
           
 double getValue()
           
 double getWidth()
           
 void setBase(double base)
           
 void setThemeColor(java.awt.Color themeColor)
           
 void setValue(double value)
           
 void setWidth(double width)
           
 
Methods inherited from class org.micropainter.ext.bar.incubator.BarComponent
getName, isOpaque, setName, setOpaque
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

themeColor

private java.awt.Color themeColor

value

private double value

base

private double base
Constructor Detail

Bar

public Bar()

Bar

public Bar(java.awt.Color themeColor,
           double width,
           double value,
           double base)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getThemeColor

public java.awt.Color getThemeColor()

setThemeColor

public void setThemeColor(java.awt.Color themeColor)

getWidth

public double getWidth()
Overrides:
getWidth in class BarComponent

setWidth

public void setWidth(double width)
Overrides:
setWidth in class BarComponent

getValue

public double getValue()

setValue

public void setValue(double value)

getBase

public double getBase()

setBase

public void setBase(double base)