|
||||||||||
| 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.OMGraphicAdapter
com.bbn.openmap.omGraphics.SinkGraphic
public class 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 Form| Field Summary |
|---|
| Fields inherited from class com.bbn.openmap.omGraphics.OMGraphicAdapter |
|---|
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
| Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
|---|
attributes, lineType, needToRegenerate, shape, visible |
| Method Summary | |
|---|---|
float |
distance(double x,
double 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, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape |
| 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, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, putAttribute, removeAttribute, restore, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape |
| Method Detail |
|---|
public static final SinkGraphic getSharedInstance()
public void setVisible(boolean visible)
setVisible in interface OMGeometrysetVisible in class BasicGeometryvisible - IGNOREDpublic boolean isVisible()
isVisible in interface OMGeometryisVisible in class BasicGeometrypublic boolean generate(Projection proj)
generate in interface OMGeometrygenerate in class OMGraphicAdapterproj - IGNORED
OMGraphicAdapter.regenerate(com.bbn.openmap.proj.Projection)public void render(java.awt.Graphics g)
render in interface OMGeometryrender in class OMGraphicAdapterg - IGNORED
public float distance(double x,
double y)
distance in interface OMGeometrydistance in class OMGraphicAdapterx - IGNOREDy - IGNORED
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||