public class ZoomToFeatureExtent extends Behavior
| Constructor and Description |
|---|
ZoomToFeatureExtent()
Creates a new instance.
|
ZoomToFeatureExtent(Layer... layers)
Creates a new instance.
|
ZoomToFeatureExtent(List<Layer> layers)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer,
Layer... layers)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer,
List<Layer> layers)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ZoomToFeatureExtent |
buffer(Number buffer)
Sets the buffer added to the calculated extent.
|
Number |
getBuffer()
Returns the buffer added to the calculated extent.
|
List<Layer> |
getLayers()
Returns the layers used when calculating the extent.
|
ZoomToFeatureExtent |
layers(List<Layer> layers)
Sets the layers used when calculating the extent.
|
void |
renderHead(Component component,
IHeaderResponse response) |
void |
setBuffer(Number buffer)
Sets the buffer added to the calculated extent.
|
void |
setLayers(List<Layer> layers)
Sets the layers used when calculating the extent.
|
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbindpublic ZoomToFeatureExtent()
public ZoomToFeatureExtent(Number buffer)
buffer - Buffer to add when calculating extentpublic ZoomToFeatureExtent(Layer... layers)
layers - Layers to use when calculating extentpublic ZoomToFeatureExtent(List<Layer> layers)
layers - List of layers to use when calculating extentpublic ZoomToFeatureExtent(Number buffer, Layer... layers)
buffer - Buffer to add when calculating extentlayers - Layers to use when calculating extentpublic Number getBuffer()
public void setBuffer(Number buffer)
buffer - New valuepublic ZoomToFeatureExtent buffer(Number buffer)
buffer - New valuepublic List<Layer> getLayers()
public void setLayers(List<Layer> layers)
layers - List of layerspublic ZoomToFeatureExtent layers(List<Layer> layers)
layers - List of layerspublic void renderHead(Component component, IHeaderResponse response)
renderHead in interface IComponentAwareHeaderContributorrenderHead in class BehaviorCopyright © 2014–2018. All rights reserved.