|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.wicketstuff.openlayers.AjaxOpenLayersMap
public class AjaxOpenLayersMap
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
| Constructor Summary | |
|---|---|
AjaxOpenLayersMap(String id,
List<Layer> layers)
|
|
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options)
|
|
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features)
|
|
AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features,
List<FeatureStyle> featureStyles)
|
|
| Method Summary | |
|---|---|
IOpenLayersMap |
addControl(IJavascriptComponent control)
Add a control. |
IOpenLayersMap |
addFeature(Feature feature)
Add a feature. |
IOpenLayersMap |
addFeatureStyle(FeatureStyle featureStyle)
Add a feature style. |
IOpenLayersMap |
addLayer(Layer layer)
Add a layer. |
IOpenLayersMap |
addOverlay(Overlay overlay)
Add an overlay. |
IOpenLayersMap |
clearOverlays()
Clear all overlays. |
Bounds |
getBounds()
|
String |
getBusinessLogicProjection()
|
LonLat |
getCenter()
|
List<IJavascriptComponent> |
getControls()
|
Vector |
getFeatureVector(String name)
|
protected String |
getJSinit()
Generates the JavaScript used to instantiate this AjaxOpenLayersMap as an JavaScript class on the client side. |
String |
getJSInstance()
|
String |
getJSinvoke(String invocation)
Convenience method for generating a JavaScript call on this AjaxOpenLayersMap with the given invocation. |
String |
getJSinvokeNoLineEnd(String invocation)
|
List<Layer> |
getLayers()
|
String |
getMarkersLayerName()
|
List<Overlay> |
getOverlays()
|
Integer |
getZoom()
|
boolean |
isExternalControls()
|
static void |
onPageRenderHead(org.apache.wicket.markup.head.IHeaderResponse response,
String pathToOpenLayersJS)
|
IOpenLayersMap |
removeControl(IJavascriptComponent control)
Remove a control. |
IOpenLayersMap |
removeFeature(Feature feature)
Remove an feature. |
IOpenLayersMap |
removeFeatureStyle(FeatureStyle featureStyle)
|
IOpenLayersMap |
removeOverlay(Overlay overlay)
Remove an overlay. |
void |
setBounds(Bounds bounds)
|
void |
setBusinessLogicProjection(String businessLogicProjection)
|
void |
setCenter(LonLat center)
|
void |
setCenter(LonLat center,
Integer zoom)
|
void |
setExternalControls(boolean externalControls)
|
void |
setLayers(List<Layer> layers)
|
void |
setMarkersLayerName(String markersLayerName)
|
void |
setOverlays(List<Overlay> overlays)
|
void |
setVisibleOnlyLayers(String... names)
|
void |
setZoom(Integer zoom)
|
void |
toggleLayer(String name)
|
void |
update(org.apache.wicket.ajax.AjaxRequestTarget target)
Update state from a request to an AJAX target. |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
|---|
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
| Methods inherited from class org.apache.wicket.Component |
|---|
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxOpenLayersMap(String id,
List<Layer> layers)
public AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options)
public AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features)
public AjaxOpenLayersMap(String id,
List<Layer> layers,
HashMap<String,String> options,
List<Feature> features,
List<FeatureStyle> featureStyles)
| Method Detail |
|---|
public static void onPageRenderHead(org.apache.wicket.markup.head.IHeaderResponse response,
String pathToOpenLayersJS)
public void setExternalControls(boolean externalControls)
setExternalControls in interface IOpenLayersMappublic boolean isExternalControls()
isExternalControls in interface IOpenLayersMappublic void setBounds(Bounds bounds)
setBounds in interface IOpenLayersMappublic Bounds getBounds()
getBounds in interface IOpenLayersMappublic void setCenter(LonLat center)
setCenter in interface IOpenLayersMappublic LonLat getCenter()
getCenter in interface IOpenLayersMappublic void setZoom(Integer zoom)
setZoom in interface IOpenLayersMappublic Integer getZoom()
getZoom in interface IOpenLayersMap
public void setCenter(LonLat center,
Integer zoom)
setCenter in interface IOpenLayersMappublic IOpenLayersMap addControl(IJavascriptComponent control)
addControl in interface IOpenLayersMapcontrol - control to add
public IOpenLayersMap addOverlay(Overlay overlay)
addOverlay in interface IOpenLayersMapoverlay - overlay to add
public IOpenLayersMap addLayer(Layer layer)
layer - layer to add
public IOpenLayersMap addFeature(Feature feature)
feature - feature to add
public IOpenLayersMap addFeatureStyle(FeatureStyle featureStyle)
featureStyle - featureStyle to add
public IOpenLayersMap removeFeatureStyle(FeatureStyle featureStyle)
public IOpenLayersMap clearOverlays()
clearOverlays in interface IOpenLayersMapprotected String getJSinit()
public String getJSinvoke(String invocation)
getJSinvoke in interface IOpenLayersMapinvocation - The JavaScript call to invoke on this AjaxOpenLayersMap.
public String getJSinvokeNoLineEnd(String invocation)
getJSinvokeNoLineEnd in interface IOpenLayersMappublic IOpenLayersMap removeControl(IJavascriptComponent control)
removeControl in interface IOpenLayersMapcontrol - control to remove
public IOpenLayersMap removeOverlay(Overlay overlay)
removeOverlay in interface IOpenLayersMapoverlay - overlay to remove
public IOpenLayersMap removeFeature(Feature feature)
feature - feature to remove
public void update(org.apache.wicket.ajax.AjaxRequestTarget target)
update in interface IOpenLayersMappublic List<Layer> getLayers()
getLayers in interface IOpenLayersMappublic List<IJavascriptComponent> getControls()
getControls in interface IOpenLayersMappublic String getJSInstance()
getJSInstance in interface IOpenLayersMappublic List<Overlay> getOverlays()
getOverlays in interface IOpenLayersMappublic void setLayers(List<Layer> layers)
setLayers in interface IOpenLayersMappublic void setOverlays(List<Overlay> overlays)
setOverlays in interface IOpenLayersMappublic void setBusinessLogicProjection(String businessLogicProjection)
setBusinessLogicProjection in interface IOpenLayersMappublic String getBusinessLogicProjection()
getBusinessLogicProjection in interface IOpenLayersMappublic Vector getFeatureVector(String name)
public void setMarkersLayerName(String markersLayerName)
public String getMarkersLayerName()
public void setVisibleOnlyLayers(String... names)
public void toggleLayer(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||