public abstract class EditableOMAbstractLine extends EditableOMGraphic
EditableOMGraphic.OMGraphicUndoEvent
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JMenu |
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 |
---|
EditableOMAbstractLine() |
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
createArrowIcon(java.awt.BasicStroke stroke,
int width,
int height,
int arrowHeadType)
Given some arrowhead parameters, create an ImageIcon that shows
it.
|
javax.swing.JMenu |
getArrowHeadMenu() |
java.awt.Component |
getGUI(GraphicAttributes graphicAttributes)
If this EditableOMGraphic has parameters that can be manipulated that are independent of other EditableOMGraphic
types, then you can provide the widgets to control those parameters here.
|
_getMovingPoint, addEOMGListener, attachToMovingGrabPoint, cleanMap, createAttributePanel, createGraphic, createUndoEventForCurrentState, detachFromMovingGrabPoint, finalize, fireEvent, fireEvent, fireEvent, fireEvent, generate, getActionMask, getCanGrabGraphic, getGrabPoint, getGrabPoints, getGraphic, getGUI, getMouseModeServiceList, getMovingPoint, getMovingPoint, getProjection, getProjectionPoint, getShowGUI, getStateMachine, getUndoStack, handleInitialMouseEvent, isMouseEventTouching, isMouseEventTouchingTheEdge, isPopupIsUp, isXorRendering, modifyOMGraphicForEditRender, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased, move, redraw, redraw, redraw, regenerate, removeEOMGListener, render, repaint, repaintRender, reset, resetOMGraphicAfterEditRender, setActionMask, setCanGrabGraphic, setGrabPoint, setGrabPoints, setGrabPoints, setGraphic, setMouseModeServiceList, setMovingPoint, setPopupIsUp, setProjection, setShowGUI, setStateMachine, setUndoStack, setXorRendering, updateCurrentState
public java.awt.Component getGUI(GraphicAttributes graphicAttributes)
EditableOMGraphic
getGUI
in class EditableOMGraphic
graphicAttributes
- the GraphicAttributes that could be used to get the GUI widget from to control those
parameters for this EOMG. The GraphicAttributes used to provide the GUI widget, but it doesn't anymore. Subclasses
can take this opportunity to reset the GraphicAttributes interface for a new OMGraphic.public javax.swing.JMenu getArrowHeadMenu()
public javax.swing.ImageIcon createArrowIcon(java.awt.BasicStroke stroke, int width, int height, int arrowHeadType)
stroke
- the BasicStroke to draw on the Icon.width
- the width of the icon.height
- the height of the icon.arrowHeadType
- -1 for no arrowhead, use the OMArrowHead
directions for other versions.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details