public interface OMGraphicHandler
Modifier and Type | Method and Description |
---|---|
boolean |
canSetList()
Indicates if the OMGraphicHandler can have its OMGraphicList
set.
|
boolean |
doAction(OMGraphic graphic,
OMAction action)
Allows the OMGraphicHandler to receive graphics or take some
action on one.
|
OMGraphicList |
filter(java.awt.Shape withinThisShape)
Filters the OMGraphicHandler graphic list so that graphics
within the given shape will be visible.
|
OMGraphicList |
filter(java.awt.Shape shapeBoundary,
boolean getInsideBoundary)
Filters the OMGraphicHandler graphic list so that graphics
inside or outside the given shape will be visible.
|
OMGraphicList |
filter(java.lang.String SQLQuery)
Filters the OMGraphicHandler graphic list so that graphics
meeting the SQL query statement will be visible.
|
OMGraphicList |
getList()
Return the graphic list currently being used by the
OMGraphicHandler.
|
void |
resetFiltering()
Remove all filters, and reset all graphics to be visible.
|
void |
setList(OMGraphicList omgl)
Set the OMGraphicList within this OMGraphicHandler.
|
boolean |
supportsSQL()
Returns true if the OMGraphicHandler can handle SQL statements
for filtering.
|
OMGraphicList filter(java.awt.Shape withinThisShape)
withinThisShape
- java.awt.Shape object defining a
boundary.OMGraphicList filter(java.awt.Shape shapeBoundary, boolean getInsideBoundary)
shapeBoundary
- java.awt.Shape object defining a boundary.getInsideBoundary
- if true, the filter will look for
shapes inside and contacting the boundary. If false, the
filter will look for shapes outside the boundary.boolean supportsSQL()
OMGraphicList filter(java.lang.String SQLQuery)
SQLQuery
- a SELECT SQL statementboolean doAction(OMGraphic graphic, OMAction action)
graphic
- the OMGraphic to do the action on.action
- the OMAction describing what to do to the
graphic.OMGraphicList getList()
OMGeometry.isVisible().
boolean canSetList()
void setList(OMGraphicList omgl)
void resetFiltering()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details