Package net.sf.basedb.core.data
Class ColoringData
java.lang.Object
net.sf.basedb.core.data.ColoringData
- All Implemented Interfaces:
ComponentData
Hold coloring information. Implemented as a component since several types of
items may be colored.
- Version:
- 2.0
- Author:
- nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionColoringData
(boolean useColors, boolean logarithmic, Float minValue, Float midValue, Float maxValue) -
Method Summary
Modifier and TypeMethodDescriptionThe value for the ax endpoint color.The value for the midpoint color.The value for the minimum endpoint color.boolean
If values should be logarithmised or not.boolean
If colors should be used or not.void
setLogarithmic
(boolean logarithmic) void
setMaxValue
(Float maxValue) void
setMidValue
(Float midValue) void
setMinValue
(Float minValue) void
setUsingColors
(boolean useColors)
-
Field Details
-
useColors
private boolean useColors -
logarithmic
private boolean logarithmic -
minValue
-
midValue
-
maxValue
-
-
Constructor Details
-
ColoringData
public ColoringData() -
ColoringData
-
-
Method Details
-
isUsingColors
public boolean isUsingColors()If colors should be used or not.- Hibernate: property
- column="`use_colors`" type="boolean" not-null="true"
-
setUsingColors
public void setUsingColors(boolean useColors) -
isLogarithmic
public boolean isLogarithmic()If values should be logarithmised or not.- Hibernate: property
- column="`logarithmic`" type="boolean" not-null="true"
-
setLogarithmic
public void setLogarithmic(boolean logarithmic) -
getMinValue
The value for the minimum endpoint color.- Hibernate: property
- column="`min_value`" type="float" not-null="false"
-
setMinValue
-
getMidValue
The value for the midpoint color.- Hibernate: property
- column="`mid_value`" type="float" not-null="false"
-
setMidValue
-
getMaxValue
The value for the ax endpoint color.- Hibernate: property
- column="`max_value`" type="float" not-null="false"
-
setMaxValue
-