com.supermap.mapping
Class ColorLegendItem
- java.lang.Object
-
- com.supermap.mapping.ColorLegendItem
-
public class ColorLegendItem extends java.lang.Object
The ColorLegendItem Class
-
-
Constructor Summary
Constructors Constructor and Description ColorLegendItem()
Constructs a new color value legend subitem object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getCaption()
Gets the color value legend subitem description.int
getColor()
Gets the color value of the color value legend subitem.void
setCaption(java.lang.String caption)
Sets the color value legend subitem description.void
setColor(int color)
Sets the color value of the color value legend subitem.
-
-
-
Constructor Detail
-
ColorLegendItem
public ColorLegendItem()
Constructs a new color value legend subitem object.
-
-
Method Detail
-
getColor
public int getColor()
Gets the color value of the color value legend subitem.- Returns:
- The color value for the legend subitem.
-
setColor
public void setColor(int color)
Sets the color value of the color value legend subitem.- Parameters:
color
- The color value for the legend subitem.
-
getCaption
public java.lang.String getCaption()
Gets the color value legend subitem description.- Returns:
- The legend subitem description.
-
setCaption
public void setCaption(java.lang.String caption)
Sets the color value legend subitem description.- Parameters:
caption
- The legend subitem description.
-
-