public class UIGeoOverviewMap extends BIComplexAttributeBase
Modifier and Type | Field and Description |
---|---|
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 |
MAPDIFF_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
WIDTH_KEY |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
UIGeoOverviewMap() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
int |
getHeight()
Return the height of the overviewMap.
|
int |
getMapDiff()
Return the scale difference between the map and the overview map
|
int |
getWidth()
Return the width of the overview Map
|
boolean |
isInitialShown()
Indicates whether the overview map is expanded initially.
|
boolean |
isVisible()
Indicates whether the overview map is visible 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 the overviewMap.
|
void |
setInitialShown(boolean bInitialShown)
Specifies whether the overview map should be expanded when the map is
shown.
|
void |
setMapDiff(int mapDiff)
Specifies the scale difference between the map and the overviewMap.
|
void |
setVisible(boolean bVisible)
Specifies whether the overview map should be visible.
|
void |
setWidth(int width)
Specifies the width of the overviewMap.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
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 MAPDIFF_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INITIALSHOWN_KEY
public void setWidth(int width)
width
- The width of the overviewMap in pixelpublic int getWidth()
public void setHeight(int height)
height
- The height of the overviewMap.public int getHeight()
public void setMapDiff(int mapDiff)
mapDiff
- The scale difference between the map and the overview map.public int getMapDiff()
public void setVisible(boolean bVisible)
bVisible
- True if the overview map is visible. False if it is
hiddenpublic boolean isVisible()
public void setInitialShown(boolean bInitialShown)
bInitialShown
- True if the overview map should be expanded
initially. False, if the overview map should be
collapsed.public boolean isInitialShown()
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