|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.omGraphics.geom.BasicGeometry com.bbn.openmap.omGraphics.OMGraphicAdapter com.bbn.openmap.omGraphics.OMPoint com.bbn.openmap.omGraphics.GrabPoint com.bbn.openmap.omGraphics.HorizontalGrabPoint
public class HorizontalGrabPoint
A GrabPoint that can only move in the horizontal direction.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
OMPoint.Image |
Field Summary |
---|
Fields inherited from class com.bbn.openmap.omGraphics.GrabPoint |
---|
DEFAULT_RADIUS |
Fields inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
DEFAULT_ISOVAL, lat1, lon1, oval, radius, x, y |
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 |
Constructor Summary | |
---|---|
HorizontalGrabPoint(int x,
int y)
|
Method Summary | |
---|---|
void |
set(int x,
int y)
y is ignored, since it can't affect the vertical movement of a HorizontalGrabPoint. |
void |
set(int x,
int y,
boolean override)
Move the point. |
void |
setY(int y)
No action, because vertical movement is limited. |
Methods inherited from class com.bbn.openmap.omGraphics.GrabPoint |
---|
set, setDefaultDrawingAttributes |
Methods inherited from class com.bbn.openmap.omGraphics.OMPoint |
---|
generate, getLat, getLon, getRadius, getX, getY, hasLineTypeChoice, isOval, restore, set, setLat, setLon, setOval, setRadius, setX |
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, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
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, distance, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, render, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
Constructor Detail |
---|
public HorizontalGrabPoint(int x, int y)
Method Detail |
---|
public void set(int x, int y)
set
in class OMPoint
public void set(int x, int y, boolean override)
x
- the new x locationy
- the new y locationoverride
- true if the vertical limitation should be
ignored.public void setY(int y)
setY
in class OMPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |