com.ontimize.util.gis.client.styling
Class VectorialColorMapEntry
java.lang.Object
com.ontimize.util.gis.client.styling.VectorialColorMapEntry
public class VectorialColorMapEntry
- extends java.lang.Object
Vectorial color map entry.
Xml definition parameters:
| Name |
Description |
Required |
| color |
Color in hex code |
Yes |
| quantity |
Value to assign layer elements color |
Yes |
| label |
Label for legends creation |
No |
| opacity |
Float opacity value |
No |
Sample code:
<VectorialColorMapEntry>
<Attribute name="color" value="#AA1145" />
<Attribute name="quantity" value="100.0" />
<Attribute name="label" value="Maximum" />
</VectorialColorMapEntry>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entryColor
protected java.awt.Color entryColor
entryOpacity
protected float entryOpacity
entryQuantity
protected java.lang.Object entryQuantity
entryLabel
protected java.lang.String entryLabel
equalFilter
protected org.opengis.filter.Filter equalFilter
lessFilter
protected org.opengis.filter.Filter lessFilter
greaterFilter
protected org.opengis.filter.Filter greaterFilter
ff
protected org.opengis.filter.FilterFactory ff
VectorialColorMapEntry
public VectorialColorMapEntry()
VectorialColorMapEntry
public VectorialColorMapEntry(java.awt.Color color,
java.lang.Object quantity,
java.lang.String label)
VectorialColorMapEntry
public VectorialColorMapEntry(java.awt.Color color,
float opacity,
java.lang.Object quantity,
java.lang.String label)
setColor
public void setColor(java.awt.Color color)
getColor
public java.awt.Color getColor()
setOpacity
public void setOpacity(float opacity)
getOpacity
public float getOpacity()
setQuantity
public void setQuantity(java.lang.Object quantity)
getQuantity
public java.lang.Object getQuantity()
setLabel
public void setLabel(java.lang.String label)
getLabel
public java.lang.String getLabel()
isEqualTo
protected boolean isEqualTo(java.lang.Object value)
isLessThan
protected boolean isLessThan(java.lang.Object value)
isGreaterThan
protected boolean isGreaterThan(java.lang.Object value)