|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.wms.client.Layer
public class Layer
Defines a WMS Layer with name, style, SRS, and bounding box.
Field Summary | |
---|---|
protected String |
abstractInfo
The abstract information of the layer. |
protected boolean |
cascaded
True if the layer has not been retransmitted by a Cascading Map Server. |
protected List<Envelope> |
extents
The BoundingBoxs of the layer. |
protected Integer |
fixedHeight
0: WMS can produce map of arbitrary height. |
protected Integer |
fixedWidth
0: WMS can produce map of arbitrary width. |
protected Envelope |
fullExtent
The full extent of the layer. |
protected List<Layer> |
layers
Sub-layers of the layer. |
protected double |
maxScale
Defines the upper range of scales for which it is appropriate to display the layer. |
protected double |
minScale
Defines the lower range of scales for which it is appropriate to display the layer. |
protected String |
name
If, and only if, a layer has a Name, then it is a map layer that can be requested by using that Name in the LAYERS parameter of a GetMap request. |
protected boolean |
noSubsets
false: WMS can map a subset of the full bounding box. |
protected boolean |
opaque
false: map data represents vector features that probably do not completely fill space. |
protected boolean |
queryable
True if the layer supports GetFeatureInfo operation. |
protected List<SpatialReference> |
spatialReferences
Supported spatial reference of the layer. |
protected NamedStyle |
style
Different than validStyles, this property is the layer style for GetMap operation. |
protected String |
title
A Title is mandatory for all layers; it is a human-readable string for presentation in a menu. |
protected List<NamedStyle> |
validStyles
Zero or more Styles may be advertised for a Layer or collection of layers using Style elements, each of which shall have Name and Title elements. |
protected boolean |
visible
True if the layer is visible. |
Constructor Summary | |
---|---|
Layer()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this instance for equality. |
String |
getAbstract()
Gets the abstract information of the Layer. |
List<Envelope> |
getExtents()
Gets the extents of the layer. |
Integer |
getFixedHeight()
Gets the fixed height of the Layer. |
Integer |
getFixedWidth()
Gets the fixed width of the Layer. |
Envelope |
getFullExtent()
Gets the full extent of the Layer. |
List<Layer> |
getLayers()
Gets the sub-layers. |
double |
getMaxScale()
Defines the upper range of scales for which it is appropriate to display the layer. |
double |
getMinScale()
Defines the lower range of scales for which it is appropriate to display the layer. |
String |
getName()
Gets the name of the Layer. |
List<SpatialReference> |
getSpatialReferences()
Gets the supported spatial references on the Layer. |
NamedStyle |
getStyle()
Gets the style of the Layer for map rendering. |
List<NamedStyle> |
getStyles()
Gets the supported styles on the layer. |
String |
getTitle()
Gets the title of the layer. |
int |
hashCode()
Returns the hash code of the request object. |
boolean |
isCascaded()
Returns true if the layer is cascaded. |
boolean |
isDisabled()
Returns whether this layer is disabled. |
boolean |
isLeaf()
Returns true if the layer has no child. |
boolean |
isNoSubsets()
When returns a true value, "noSubsets" indicates that the server is not able to make a map of a geographic area other than the layer's bounding box. |
boolean |
isOpaque()
Returns false if maps made from the Layer will generally have significant no-data areas that a client may display as transparent. |
boolean |
isQueryable()
Returns true if the layer supports GetFeatureInfo operation. |
boolean |
isVisible()
Returns true if the layer is visible. |
void |
setDisabled(boolean disabled)
Sets whether the layer should be disabled. |
void |
setStyle(NamedStyle style)
Sets the style of the Layer. |
void |
setVisible(boolean visible)
Sets to true if the layer is visible. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Layer> layers
protected List<NamedStyle> validStyles
protected List<SpatialReference> spatialReferences
protected String name
protected String title
protected String abstractInfo
protected boolean queryable
protected boolean cascaded
protected boolean noSubsets
protected Integer fixedWidth
protected Integer fixedHeight
protected boolean opaque
protected double minScale
protected double maxScale
protected List<Envelope> extents
protected Envelope fullExtent
protected NamedStyle style
protected boolean visible
Constructor Detail |
---|
public Layer()
Method Detail |
---|
public boolean isCascaded()
public Integer getFixedHeight()
public Integer getFixedWidth()
public List<Layer> getLayers()
public double getMaxScale()
public double getMinScale()
public String getName()
public boolean isQueryable()
public boolean isNoSubsets()
public String getTitle()
public List<SpatialReference> getSpatialReferences()
public List<NamedStyle> getStyles()
public NamedStyle getStyle()
public void setStyle(NamedStyle style)
style
- The style to set.public boolean isVisible()
public void setVisible(boolean visible)
visible
- The visible to set.public List<Envelope> getExtents()
public Envelope getFullExtent()
public boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- The disabled to set.public String getAbstract()
public boolean isOpaque()
public boolean isLeaf()
true
if the layer has no child.
true
if the layer has no child.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- object to be compared for equality with this instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |