|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.geom.BasicGeometry
com.bbn.openmap.omGraphics.OMGraphic
com.bbn.openmap.omGraphics.SinkGraphic
This graphic is a Sink. You can use it as a placeholder, say in an OMGraphicList. It is never visible, and you can use the single shared instance in as many places as you want. This shared instance is multithreaded safe.
OMGraphic
,
Serialized FormField Summary |
Fields inherited from class com.bbn.openmap.omGraphics.OMGraphic |
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
APP_OBJECT_KEY, appObject, ATT_MAP_KEY, lineType, needToRegenerate, shape, visible |
Method Summary | |
float |
distance(int x,
int y)
This graphic is at Float.POSITIVE_INFINITY. |
boolean |
generate(Projection proj)
This graphic generates nothing, successfully. |
static SinkGraphic |
getSharedInstance()
Get a shared instance of the SinkGraphic. |
boolean |
isVisible()
This graphic is not visible. |
void |
render(java.awt.Graphics g)
This graphic does not render. |
void |
setVisible(boolean visible)
This graphic is not visible. |
Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, checkAttributeMap, checkAttributeMap, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, draw, fill, getAppObject, getAppObject, getAttribute, getAttributeMap, getAttributes, getLineType, getNeedToRegenerate, getShape, isRenderable, putAttribute, removeAttribute, replaceAppObjectWithAttributeMap, setAppObject, setAppObject, setAttributes, setLineType, setNeedToRegenerate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
clearAttributes, contains, draw, fill, getAppObject, getAttribute, getAttributes, getLineType, getNeedToRegenerate, getShape, isRenderable, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate |
Method Detail |
public static final SinkGraphic getSharedInstance()
public void setVisible(boolean visible)
setVisible
in interface OMGeometry
setVisible
in class BasicGeometry
visible
- IGNOREDpublic boolean isVisible()
isVisible
in interface OMGeometry
isVisible
in class BasicGeometry
public boolean generate(Projection proj)
generate
in interface OMGeometry
generate
in class OMGraphic
proj
- IGNORED
OMGraphic.regenerate(com.bbn.openmap.proj.Projection)
public void render(java.awt.Graphics g)
render
in class OMGraphic
g
- IGNOREDpublic float distance(int x, int y)
distance
in interface OMGeometry
distance
in class OMGraphic
x
- IGNOREDy
- IGNORED
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |