public class IlvFacesGoogleViewTag extends IlvBaseTag
IlvFacesGoogleViewComponent
component and its renderer.bodyContent, pageContext, UNIQUE_ID_PREFIX
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvFacesGoogleViewTag()
Creates a new
IlvFacesGoogleViewTag . |
Modifier and Type | Method and Description |
---|---|
String |
getApiVersion()
Gets the version of the Google maps API used.
|
String |
getComponentType()
Returns the component type for the component that is or will be
bound to this tag.
|
String |
getControls()
Returns a comma separated list of Google maps controls class names.
|
String |
getData()
Returns the data to be displayed by this component.
|
String |
getDiagrammer()
Returns the diagrammer.
|
String |
getHeight()
Returns the height in pixels of this component.
|
String |
getKey()
Returns the google application key that should be used.
|
String |
getLat()
Returns the latitude of the map center.
|
String |
getLevel()
Returns the google maps zoom level.
|
String |
getLon()
Returns the logitude of the map center.
|
String |
getNodeMovable()
Indicates whether nodes will be interactively movable on the client.
|
String |
getRendererType()
Return the
rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly. |
String |
getServlet()
Returns the servlet that will generate the image displayed by the view.
|
String |
getServletClass()
Returns the servlet class
|
String |
getStyle()
Returns the inline client
style of this component. |
String |
getStyleClass()
Returns the client CSS class(es) of this component.
|
String |
getWidth()
Returns the width in pixels of this component.
|
void |
setApiVersion(String apiVersion)
Sets the version of the Google maps API used.
|
void |
setControls(String controls)
Sets the list of Google maps controls class names.
|
void |
setData(String data)
Sets the data to be displayed by this component.
|
void |
setDiagrammer(String diagrammer)
Sets the diagrammer.
|
void |
setHeight(String height)
Sets the height in pixels of this component.
|
void |
setKey(String key)
Sets the google application key that should be used.
|
void |
setLat(String lat)
Changes the latitude of the map center.
|
void |
setLevel(String level)
Sets the google maps zoom level (1 to 13).
|
void |
setLon(String lon)
Sets the longitude of the map center.
|
void |
setNodeMovable(String nodeMovable)
Sets whether nodes will be interactively movable on the client.
|
protected void |
setProperties(javax.faces.component.UIComponent component)
Sets up the component properties.
|
void |
setServlet(String servlet)
Sets the servlet that will generate the image displayed by the view.
|
void |
setServletClass(String servletClass)
Sets the
IlvFacesMapsServlet subclass that will manage this component. |
void |
setStyle(String style)
Sets the inline client
style of this component. |
void |
setStyleClass(String styleClass)
Sets the client CSS class(es) of this component.
|
void |
setWidth(String width)
Sets the width in pixels of this component.
|
getPartialTriggers, getStringArray, setPartialTriggers, setProperty, setVBProperty, testSetProperties
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public IlvFacesGoogleViewTag()
IlvFacesGoogleViewTag
.public String getComponentType()
Returns the component type for the component that is or will be bound to this tag.
This implementation returns null
, subclasses must
override this method to return the appropriate value.
getComponentType
in class IlvBaseTag
IlvBaseTag.getComponentType()
public String getRendererType()
Return the rendererType
property that selects the
Renderer
to be used for encoding this component, or
null
to ask the component to render itself directly.
This implementation return null
, subclasses must override
this method to return the appropriate value.
getRendererType
in class IlvBaseTag
IlvBaseTag.getRendererType()
protected void setProperties(javax.faces.component.UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view.
Tag subclasses that want to support additional set properties
must ensure that the base class setProperties()
method is still called. A typical implementation that supports
extra properties foo
and bar
would look
something like this:
protected void setProperties(UIComponent component) { super.setProperties(component); if (foo != null) { component.setAttribute("foo", foo); } if (bar != null) { component.setAttribute("bar", bar); } }
setProperties
in class IlvBaseTag
component
- The component whose properties are to be
overriddenUIComponentTag.setProperties(javax.faces.component.UIComponent)
public String getApiVersion()
public void setApiVersion(String apiVersion)
apiVersion
- The version of the Google maps API used.public String getStyle()
style
of this component.style
of this component.public void setStyle(String style)
style
of this component.style
- The inline client style
of this component.public String getNodeMovable()
public void setNodeMovable(String nodeMovable)
nodeMovable
- the indicator whether nodes are movable or not.public String getStyleClass()
public void setServletClass(String servletClass)
IlvFacesMapsServlet
subclass that will manage this component.servletClass
- a fully qualified servlet class name that will be instantiated.public String getServletClass()
public void setStyleClass(String styleClass)
styleClass
- the client CSS classes.public String getLat()
public void setControls(String controls)
controls
- the comma separated list of Google maps controls.public String getControls()
public void setLat(String lat)
lat
- the latitude of the map center.public String getData()
public void setData(String data)
data
- the data to load in the map.public String getLon()
public void setLon(String lon)
lon
- the longitude of the map center.public String getLevel()
public void setLevel(String level)
level
- the zoom level of the map.public String getDiagrammer()
public void setDiagrammer(String diagrammer)
diagrammer
- the diagrammer.public String getServlet()
public void setServlet(String servlet)
setValue
. The servlet parameter could be a URL to
the servlet or a fully qualified servlet class that will be instantiated
to generate the image.servlet
- The image generating the servlet.public String getKey()
public void setKey(String key)
key
- the Google application key to setpublic String getWidth()
public void setWidth(String width)
style
or styleClass
attribute.width
- the component width.public String getHeight()
public void setHeight(String height)
style
or styleClass
attribute.height
- the component height.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.