public class UIGeoMapToolbar
extends org.apache.myfaces.trinidad.component.UIXComponentBase
| Modifier and Type | Field and Description |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLICK_BUTTON |
static org.apache.myfaces.trinidad.bean.PropertyKey |
MAPID_KEY |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_AREA |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_CIRCLESELECTION |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_HAND |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_POINTSELECTION |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_POLYGONSELECTION |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_RECTSELECTION |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_RULER |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_ZOOMIN |
static java.lang.String |
MAPTOOLBARBUTTONTYPE_ZOOMOUT |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PARTIAL_TRIGGERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWDISTANCETOOLS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWSELECTIONTOOLS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWSELECTTHEMEDIALOG_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWSELECTTHEMEMENUITEM_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWVIEWMENU_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHOWZOOMTOOLS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLECLASS_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
| Constructor and Description |
|---|
UIGeoMapToolbar() |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.lang.String |
getClickButton()
For internal use only.
|
java.lang.String |
getFamily() |
java.lang.String |
getMapId()
Return the mapId of the map component for this toolbar
|
java.lang.String[] |
getPartialTriggers()
Return the ids of the components that should trigger a partial update.
|
java.lang.String |
getRendererType() |
java.lang.String |
getStyleClass()
Return the CSS style class for this component
|
boolean |
isButtonSelected(java.lang.String buttonType) |
boolean |
isShowDistanceTools()
Indicates whether the distance and area tools are visible or not.
|
boolean |
isShowSelectionTools()
Indicates whether selection tools -- rectangle tool, circle tool,
polygon tool, and point tool -- is visible on the toolbar or not
|
boolean |
isShowSelectThemeDialog()
Indicates whether the select theme dialog is visible on the view menu
of the toolbar
|
boolean |
isShowSelectThemeMenuItem()
Indicates whether "select theme" menu item is visible
|
boolean |
isShowViewMenu()
Indicates whether viewMenu is visible on the toolbar or not
|
boolean |
isShowZoomTools()
Indicates whether the zoom in and zoom out tools are visible or not.
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setClickButton(java.lang.String buttonType)
For internal use only.
|
void |
setMapId(java.lang.String mapId)
Specifies the id of the map component that associated with this toolbar.
|
void |
setPartialTriggers(java.lang.String[] ids)
Specifies the ids of the components that should trigger a partial update.
|
void |
setShowDistanceTools(boolean bShown)
Specifies wheter distance tool and area tool will be shown on the toolbar
|
void |
setShowSelectionTools(boolean bShown)
Specifies whether selection tools -- rectangle tool, circle tool,
polygon tool, and point tool -- will be shown on the toolbar.
|
void |
setShowSelectThemeDialog(boolean bShown)
Specifies whether the select theme dialog will be visible on the view menu
of the toolbar
|
void |
setShowSelectThemeMenuItem(boolean bShown)
Specifies whether "select theme" menu item will be visible on the view
menu of the toolbar
|
void |
setShowViewMenu(boolean bShown)
Specifies whether view menu will be shown on the toolbar
|
void |
setShowZoomTools(boolean bShown)
Specifies whether zoom in tool and zoom out tool will be shown on the
toolbar.
|
void |
setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component
|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, satisfiesPartialTrigger, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final java.lang.String MAPTOOLBARBUTTONTYPE_RECTSELECTION
public static final java.lang.String MAPTOOLBARBUTTONTYPE_CIRCLESELECTION
public static final java.lang.String MAPTOOLBARBUTTONTYPE_POLYGONSELECTION
public static final java.lang.String MAPTOOLBARBUTTONTYPE_POINTSELECTION
public static final java.lang.String MAPTOOLBARBUTTONTYPE_ZOOMIN
public static final java.lang.String MAPTOOLBARBUTTONTYPE_ZOOMOUT
public static final java.lang.String MAPTOOLBARBUTTONTYPE_HAND
public static final java.lang.String MAPTOOLBARBUTTONTYPE_RULER
public static final java.lang.String MAPTOOLBARBUTTONTYPE_AREA
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey MAPID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWVIEWMENU_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWSELECTIONTOOLS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWZOOMTOOLS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWDISTANCETOOLS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWSELECTTHEMEDIALOG_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOWSELECTTHEMEMENUITEM_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLICK_BUTTON
public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLECLASS_KEY
public java.lang.String getFamily()
getFamily in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic java.lang.String getRendererType()
getRendererType in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic void setMapId(java.lang.String mapId)
mapId - The id of the map component that associated with this toolbarpublic java.lang.String getMapId()
public void setClickButton(java.lang.String buttonType)
public java.lang.String getClickButton()
public void setShowViewMenu(boolean bShown)
bShown - True if the viewMenu will be shown. False if
the viewMenu will be hidden.public boolean isShowViewMenu()
public void setShowSelectionTools(boolean bShown)
bShown - True if the selection tools should be visible. False if
all selection tools should be hidden.public boolean isShowSelectionTools()
public void setShowZoomTools(boolean bShown)
bShown - True if the zoom in and zoom out tools are visible. False if
the zoom in and zoom out tools are hidden.public boolean isShowZoomTools()
public void setShowDistanceTools(boolean bShown)
bShown - True if distance and area tools should be visible. False if
distance and area tools should be hidden.public boolean isShowDistanceTools()
public void setShowSelectThemeDialog(boolean bShown)
bShown - True if the select theme dialog will be visible. False if
it is hidden.public boolean isShowSelectThemeDialog()
public void setShowSelectThemeMenuItem(boolean bShown)
bShown - True if the "select theme" menu item should be visible. False
if it should be hidden.public boolean isShowSelectThemeMenuItem()
public void setStyleClass(java.lang.String styleClass)
styleClass - The styleClass for this componentpublic java.lang.String getStyleClass()
public void setPartialTriggers(java.lang.String[] ids)
ids - The ids of the componentpublic java.lang.String[] getPartialTriggers()
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class org.apache.myfaces.trinidad.component.UIXComponentBasejavax.faces.event.AbortProcessingExceptionpublic boolean isButtonSelected(java.lang.String buttonType)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj)
restoreState in interface javax.faces.component.StateHolderrestoreState in class org.apache.myfaces.trinidad.component.UIXComponentBaseprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class org.apache.myfaces.trinidad.component.UIXComponentBase