public class ColorThemeFOI extends NSDPTheme
| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
BUCKETCOUNT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLORLIST_KEY |
static java.lang.String |
DEFAULT_MAX_COLOR |
static java.lang.String |
DEFAULT_MIN_COLOR |
static int |
DEFAULT_NUM_BUCKETS |
static int |
DEFAULT_OPACITY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LEGENDLABELS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MAXCOLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MINCOLOR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
OPACITY_KEY |
static java.lang.String |
THEMETYPE |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
LOCATIONCOLUMN_KEY, THEMENAME_KEYCLICKACTION_KEY, CLICKLISTENER_KEY, CONVERTER_KEY, INFOWINDOWCALLBACK_KEY, LEFTCLICKBEHAVIOR_KEY, logger, LOGGERCLASS, MAXZOOM_KEY, MENULABEL_KEY, MINZOOM_KEY, RENDERED_KEY, RIGHTCLICKBEHAVIOR_KEY, SCALING_KEY, SELECTIONLISTENER_KEY, SHORTLABEL_KEY, USEWINDOW_KEY, VALUE_KEY, WINDOWHEIGHT_KEY, WINDOWWIDTH_KEYID_KEY, m_parent, TRANSIENT_KEY| Constructor and Description |
|---|
ColorThemeFOI() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.util.ArrayList |
getColorList()
Return an array list of the color for each bucket in RGB hexadecimal
form.
|
java.util.ArrayList |
getColors()
For internal use only.
|
java.lang.String |
getInternalThemeType()
For internal use only.
|
java.util.ArrayList |
getLegendLabels()
Return the labels for each bucket in the legend
|
java.awt.Color |
getMaxColor()
Return the color of the bucket with the largest value
|
java.awt.Color |
getMinColor()
Return the color of the bucket with the smallest value
|
int |
getNumberOfBucket()
Return the number of buckets for the colorTheme
|
int |
getOpacity()
Return the opacity of the theme
|
void |
setColorList(java.util.ArrayList colorList)
Specifies the color for each bucket.
|
void |
setLegendLabels(java.util.ArrayList legendLabels)
Specifies the labels for each bucket in the legend.
|
void |
setMaxColor(java.awt.Color maxColor)
Specifies the color for the bucket with the largest value.
|
void |
setMinColor(java.awt.Color minColor)
Specifies the color for the bucket with the smallest value.
|
void |
setNumberOfBucket(int numBucket)
Specifies the number of buckets for the colorTheme.
|
void |
setOpacity(int opacity)
Specifies the opacity of the color of the theme.
|
getLocationColumn, getThemeName, setLocationColumn, setThemeNameconvertLeftClickBehavior, convertRightClickBehavior, getClickAction, getClickListener, getColorFromStyle, getConverter, getInfoWindowCallback, getLeftClickBehavior, getMaxZoom, getMenuLabel, getMinZoom, getNumberFormat, getProperty, getRightClickBehavior, getScaling, getSelectionListener, getShortLabel, getThemeClientSideLeftClickBehavior, getThemeClientSideRightClickBehavior, getWindowHeight, getWindowWidth, isLoaded, isNumberFormatSpecified, isRendered, isToolbarVisible, isUseWindow, setClickAction, setClickListener, setConverter, setInfoWindowCallback, setLeftClickBehavior, setLoaded, setMaxZoom, setMenuLabel, setMinZoom, setNumberFormat, setRendered, setRightClickBehavior, setScaling, setSelectionListener, setShortLabel, setToolbarVisible, setUseWindow, setWindowHeight, setWindowWidthapplyProperties, getBooleanProperty, getFacesBean, getId, getParent, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdatedpublic static final java.lang.String DEFAULT_MAX_COLOR
public static final java.lang.String DEFAULT_MIN_COLOR
public static final int DEFAULT_NUM_BUCKETS
public static final int DEFAULT_OPACITY
public static final java.lang.String THEMETYPE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey MINCOLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey MAXCOLOR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey BUCKETCOUNT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey OPACITY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLORLIST_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LEGENDLABELS_KEY
public void setMinColor(java.awt.Color minColor)
minColor - The color for the bucket with the smallest value.public java.awt.Color getMinColor()
public void setMaxColor(java.awt.Color maxColor)
maxColor - The color of the bucket with the largest valuepublic java.awt.Color getMaxColor()
public void setNumberOfBucket(int numBucket)
numBucket - The number of buckets for the colorTheme.public int getNumberOfBucket()
public void setOpacity(int opacity)
opacity - The opacity of the theme. Valid value is from 0 to 100.public int getOpacity()
public void setColorList(java.util.ArrayList colorList)
public java.util.ArrayList getColorList()
public void setLegendLabels(java.util.ArrayList legendLabels)
legendLabels - An array list of String that specifies the label
for each bucket in the legend.public java.util.ArrayList getLegendLabels()
public java.util.ArrayList getColors()
public java.lang.String getInternalThemeType()
getInternalThemeType in class ThemeFOIprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class ThemeFOI