forked from LupusNobilis/java-org.hwo.ui
37 lines
550 B
Java
37 lines
550 B
Java
|
package org.hwo.ui.diagram;
|
||
|
|
||
|
import java.awt.Color;
|
||
|
|
||
|
public class ColoredBackground {
|
||
|
|
||
|
Float min,max;
|
||
|
Color color;
|
||
|
|
||
|
public ColoredBackground(Color color,float min,float max){
|
||
|
this.min = min;
|
||
|
this.max = max;
|
||
|
this.color = color;
|
||
|
}
|
||
|
|
||
|
public void setColor(Color color) {
|
||
|
this.color = color;
|
||
|
}
|
||
|
public Color getColor() {
|
||
|
return color;
|
||
|
}
|
||
|
|
||
|
public Float getMax() {
|
||
|
return max;
|
||
|
}
|
||
|
public void setMax(Float max) {
|
||
|
this.max = max;
|
||
|
}
|
||
|
|
||
|
public Float getMin() {
|
||
|
return min;
|
||
|
}
|
||
|
public void setMin(Float min) {
|
||
|
this.min = min;
|
||
|
}
|
||
|
|
||
|
}
|