public class UIGeoMapLegend extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GEOMAPLEGEND_COMPONENT_FAMILY |
static java.lang.String |
GEOMAPLEGEND_COMPONENT_TYPE |
static java.lang.String |
GEOMAPLEGEND_RENDERER_TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
HEIGHT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INITIALSHOWN_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
NUMBEROFCOLUMNS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
POINTTHEMELABEL_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
RENDERED_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WIDTH_KEY |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
UIGeoMapLegend() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
int |
getHeight()
Return the height of the legend
|
int |
getNumberOfColumns()
Return the number of columns for the legend
|
java.lang.String |
getPointThemeLabel()
Return the label for the point theme
|
int |
getWidth()
Return the width of the map legend
|
boolean |
isInitialShown()
Indicates whether the legend should be shown up initially or not
|
boolean |
isRendered()
Indicates whether the legend is rendered or not
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setHeight(int height)
Specifies the height of legend.
|
void |
setInitialShown(boolean isInitialShown)
Specifies whether the legend should be shown in a popup when the map
starts.
|
void |
setNumberOfColumns(int numberOfColumns)
Specifies the number of columns for the legend of colorTheme.
|
void |
setPointThemeLabel(java.lang.String pointThemeLabel)
Specifies the label for the point theme.
|
void |
setRendered(boolean bRendered)
Specifies whether the legend is rendered.
|
void |
setWidth(int width)
Specifies the width of the legend.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
public static final java.lang.String GEOMAPLEGEND_COMPONENT_TYPE
public static final java.lang.String GEOMAPLEGEND_RENDERER_TYPE
public static final java.lang.String GEOMAPLEGEND_COMPONENT_FAMILY
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey RENDERED_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INITIALSHOWN_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey HEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey POINTTHEMELABEL_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey NUMBEROFCOLUMNS_KEY
public void setRendered(boolean bRendered)
bRendered
- True if the legend is rendered. False, if the legend
is hiddenpublic boolean isRendered()
public void setWidth(int width)
width
- The width of the legend dialog.public int getWidth()
public void setHeight(int height)
height
- public int getHeight()
public void setPointThemeLabel(java.lang.String pointThemeLabel)
pointThemeLabel
- The label for the point Themepublic java.lang.String getPointThemeLabel()
public void setInitialShown(boolean isInitialShown)
isInitialShown
- True if the legend should shown up initially.
False, if not.public boolean isInitialShown()
public void setNumberOfColumns(int numberOfColumns)
numberOfColumns
- The number of columns for the legendpublic int getNumberOfColumns()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class BIComplexAttributeBase
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class BIComplexAttributeBase
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase