|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsSpatialFilter
The SpatialFilter class is used to define filter for a FeatureLayer.
| Constructor Summary | |
AimsSpatialFilter()
Construct a SpatialFilter object |
|
AimsSpatialFilter(AimsPoint pt,
AimsMap map,
double percent)
Created a spatial query using an envelope that is a percentage of the map extent. |
|
AimsSpatialFilter(AimsShapeObject shape)
Creates a spatial filter using a shape object. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a copy of this spatial filter. |
AimsShapeObject |
getShape()
Gets the shape of the spatial filter. |
boolean |
hasShape()
Tests the shape of the spatial filter. |
void |
setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
void |
setBuffer(AimsBuffer buffer)
Sets the buffer of the spatial filter to the specified buffer. |
void |
setRelation(java.lang.String relation)
the filter relationship. |
void |
setShape(AimsShapeObject shape)
Sets the shape of the spatial filter to the specified shape. |
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object. |
java.lang.String |
toString()
Returns a text representation of of this class. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsSpatialFilter()
public AimsSpatialFilter(AimsShapeObject shape)
public AimsSpatialFilter(AimsPoint pt,
AimsMap map,
double percent)
pt - An AimsPoint to use as the selection envelope centre.map - An AimsMap object to get the extent from.percent - The width of the envelope as a percent of the map extent.| Method Detail |
public java.lang.Object clone()
public void setBuffer(AimsBuffer buffer)
buffer - A buffer used by the spatial filter.public boolean hasShape()
public AimsShapeObject getShape()
public void setShape(AimsShapeObject shape)
shape - A shape to use to limit the layer.public void setRelation(java.lang.String relation)
relation - area_intersection / envelope_intersectionpublic java.lang.String toString()
public void setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The AXL element tag containing this attribute (not used).name - The AXL attribute name.value - The AXL attribute value.public java.lang.String toAxlString()
public java.lang.String toAxlString(AimsEnvironment env)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||