|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.event.MapMouseAdapter com.bbn.openmap.omGraphics.EditableOMGraphic com.bbn.openmap.omGraphics.EditableOMAbstractLine com.bbn.openmap.omGraphics.EditableOMPoly com.bbn.openmap.omGraphics.EditableOMDistance
public class EditableOMDistance
The EditableOMDistance encompasses an OMDistance, providing methods for modifying or creating it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.EditableOMPoly |
---|
EditableOMPoly.OMPolyUndoEvent |
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.EditableOMGraphic |
---|
EditableOMGraphic.OMGraphicUndoEvent |
Field Summary |
---|
Fields inherited from class com.bbn.openmap.omGraphics.EditableOMPoly |
---|
gpm, gpo, manualEnclosed, OFFSET_POINT_INDEX, poly, polyGrabPoints, selectNodeIndex |
Fields inherited from class com.bbn.openmap.omGraphics.EditableOMAbstractLine |
---|
arrowheadMenu |
Fields inherited from class com.bbn.openmap.omGraphics.EditableOMGraphic |
---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.bbn.openmap.omGraphics.EditableOMAbstractLine |
---|
createArrowIcon, getArrowHeadMenu |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditableOMDistance()
public EditableOMDistance(GraphicAttributes ga)
public EditableOMDistance(OMDistance omp)
omp
- OMDistance that should be edited.Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |