|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.filter.ShapeFilter
Filter for filtering on the shape.
Field Summary | |
static int |
SHAPE_CONTAINS
Returns all the shapes that contain this shape. |
static int |
SHAPE_EQUALS
Returns all the shapes that are the same shape as this shape. |
static int |
SHAPE_INTERSECTS
Returns all the shapes that intersect/overlap this shape. |
Constructor Summary | |
ShapeFilter()
Creates a new filter bassed on this shape for use with the configuration utility. |
|
ShapeFilter(int inComparison,
Shape inShape)
Creates a new filter bassed on this shape. |
Method Summary | |
boolean |
contains(Record inRecord)
Determines if this record should or should not be returned as part of the resulting dataset. |
int |
getComparison()
Returns the type of comparison to perform. |
java.lang.String |
getFilterName()
Get the name for this filter. |
Node |
getNode()
Get the configuration information for the filter. |
Shape |
getShape()
Return the shape to compare against. |
void |
setFilterName(java.lang.String inFilterName)
Set the name for this filter. |
void |
setNode(Node inNode)
Set the configuration information in the filter. |
java.lang.String |
toString()
The tostring for this filter will nust return the name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SHAPE_CONTAINS
public static final int SHAPE_INTERSECTS
public static final int SHAPE_EQUALS
Constructor Detail |
public ShapeFilter()
public ShapeFilter(int inComparison, Shape inShape)
Method Detail |
public void setFilterName(java.lang.String inFilterName)
public java.lang.String getFilterName()
getFilterName
in interface Filter
public Shape getShape()
public int getComparison()
public boolean contains(Record inRecord)
Filter
Returns True if the record should be included, and returns False if it should not.
contains
in interface Filter
public java.lang.String toString()
public Node getNode()
getNode
in interface Filter
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Filter
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |