public class EditableOMDistance extends EditableOMPoly
EditableOMPoly.OMPolyUndoEvent
EditableOMGraphic.OMGraphicUndoEvent
gpm, gpo, manualEnclosed, OFFSET_POINT_INDEX, poly, polyGrabPoints, selectNodeIndex
arrowheadMenu
actionMask, canGrabGraphic, DEBUG, DEBUG_DETAIL, gPoints, GRAB_POINT_DRAWING_ATTRIBUTES_ATTRIBUTE, holder, i18n, lastMouseEvent, listeners, mouseModeServiceList, movingPoint, popupIsUp, projection, SELECTED_GRAB_POINT_DRAWING_ATTRIBUTES_ATTRIBUTE, showGUI, stateMachine, undoStack, xorRendering
Constructor and Description |
---|
EditableOMDistance()
Create the EditableOMDistance, setting the state machine to create the
poly off of the gestures.
|
EditableOMDistance(GraphicAttributes ga)
Create an EditableOMDistance with the polyType and renderType parameters
in the GraphicAttributes object.
|
EditableOMDistance(OMDistance omp)
Create the EditableOMDistance with an OMDistance already defined, ready
for editing.
|
Modifier and Type | Method and Description |
---|---|
void |
createGraphic(GraphicAttributes ga)
Create and set the graphic within the state machine.
|
OMGraphic |
createGraphic(int renderType,
int lineType)
Extendable method to create specific subclasses of OMDistances.
|
protected void |
modifyOMGraphicForEditRender()
A convenience method that gives an EditableOMGraphic a chance to modify
the OMGraphic so it can be drawn quickly, by turning off labels, etc,
right before the XORpainting happens.
|
protected void |
resetOMGraphicAfterEditRender()
A convenience method that gives an EditableOMGraphic a chance to reset
the OMGraphic so it can be rendered normally, after it has been modified
for quick paints.
|
addMovingPoint, addPoint, addPoint, addPoint, addPoint, addPolyGrabPointsToOGP, assertGrabPoints, attachToMovingGrabPoint, clearSelectedNode, createGrabPoint, createUndoEventForCurrentState, deletePoint, deletePoint, detachFromMovingGrabPoint, enablePolygonButton, enablePolygonEditButtons, enclose, evaluateEnclosed, generate, generateGrabPoints, getGrabPoint, getGrabPoints, getGraphic, getGUI, getImageURL, getMovingPoint, getPolyGUI, getPolyGUI, getPolyGUI, getPolyGUI, getSelectNodeIndex, init, isEnclosed, move, regenerate, render, setEnclosed, setGrabPoint, setGrabPoints, setGrabPoints, setGrabPoints, setGraphic, setMovingPoint, setSelectNodeIndex, syncEnclosed, unsyncEnclosed, whichGrabPoint
createArrowIcon, getArrowHeadMenu
_getMovingPoint, addEOMGListener, cleanMap, createAttributePanel, finalize, fireEvent, fireEvent, fireEvent, fireEvent, getActionMask, getCanGrabGraphic, getGUI, getMouseModeServiceList, getMovingPoint, getProjection, getProjectionPoint, getShowGUI, getStateMachine, getUndoStack, handleInitialMouseEvent, isMouseEventTouching, isMouseEventTouchingTheEdge, isPopupIsUp, isXorRendering, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased, redraw, redraw, redraw, removeEOMGListener, repaint, repaintRender, reset, setActionMask, setCanGrabGraphic, setMouseModeServiceList, setPopupIsUp, setProjection, setShowGUI, setStateMachine, setUndoStack, setXorRendering, updateCurrentState
public EditableOMDistance()
public EditableOMDistance(GraphicAttributes ga)
public EditableOMDistance(OMDistance omp)
omp
- OMDistance that should be edited.public void createGraphic(GraphicAttributes ga)
createGraphic
in class EditableOMPoly
ga
- GraphicAttributes, describing the graphic to be created.public OMGraphic createGraphic(int renderType, int lineType)
createGraphic
in class EditableOMPoly
protected void modifyOMGraphicForEditRender()
modifyOMGraphicForEditRender
in class EditableOMGraphic
protected void resetOMGraphicAfterEditRender()
resetOMGraphicAfterEditRender
in class EditableOMGraphic
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details