|
|||||||||||
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.EditableOMCircle | +--com.bbn.openmap.omGraphics.EditableOMRangeRings
Field Summary | |
protected java.text.DecimalFormat |
df
|
protected boolean |
drawLabelsHolder
|
protected javax.swing.JTextField |
intervalField
|
protected javax.swing.JToolBar |
rrToolBar
|
Fields inherited from class com.bbn.openmap.omGraphics.EditableOMCircle |
CENTER_POINT_INDEX, circle, E_POINT_INDEX, gpc, gpe, gpm, gpn, gpne, gpnw, gpo, gpr, gps, gpse, gpsw, gpw, lastRenderType, N_POINT_INDEX, NE_POINT_INDEX, NW_POINT_INDEX, OFFSET_POINT_INDEX, RADIUS_POINT_INDEX, S_POINT_INDEX, SE_POINT_INDEX, SW_POINT_INDEX, W_POINT_INDEX |
Fields inherited from class com.bbn.openmap.omGraphics.EditableOMGraphic |
actionMask, canGrabGraphic, DEBUG, DEBUG_DETAIL, gPoints, holder, lastMouseEvent, listeners, mouseModeServiceList, movingPoint, projection, showGUI, stateMachine |
Constructor Summary | |
EditableOMRangeRings()
Create the EditableOMRangeRings, setting the state machine to create the circle off of the gestures. |
|
EditableOMRangeRings(GraphicAttributes ga)
Create an EditableOMRangeRings with the circleType and renderType parameters in the GraphicAttributes object. |
|
EditableOMRangeRings(OMRangeRings omc)
Create the EditableOMRangeRings with an OMCircle already defined, ready for editing. |
Method Summary | |
void |
createGraphic(GraphicAttributes ga)
Create and set the graphic within the state machine. |
java.awt.Component |
getGUI(GraphicAttributes graphicAttributes)
Modifies the gui to not include line type adjustments, and adds widgets to control range ring settings. |
protected javax.swing.JToolBar |
getRangeRingGUI()
|
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. |
void |
updateInterval(int val)
|
void |
updateInterval(java.lang.String intervalStr)
|
Methods inherited from class com.bbn.openmap.omGraphics.EditableOMCircle |
assertGrabPoints, attachToMovingGrabPoint, clearGrabPoints, detachFromMovingGrabPoint, generate, getCanGrabGraphic, getGraphic, getMovingPoint, init, move, regenerate, render, setGrabPoints, setGrabPoints, setGraphic, setMovingPoint |
Methods inherited from class com.bbn.openmap.omGraphics.EditableOMGraphic |
_getMovingPoint, addEOMGListener, cleanMap, finalize, fireEvent, fireEvent, fireEvent, fireEvent, getActionMask, getGrabPoint, getGrabPoints, getGUI, getMouseModeServiceList, getMovingPoint, getProjection, getShowGUI, getStateMachine, handleInitialMouseEvent, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased, redraw, redraw, redraw, removeEOMGListener, repaint, repaintRender, reset, setActionMask, setCanGrabGraphic, setGrabPoint, setGrabPoints, setMouseModeServiceList, setProjection, setShowGUI, setStateMachine |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JTextField intervalField
protected javax.swing.JToolBar rrToolBar
protected transient java.text.DecimalFormat df
protected boolean drawLabelsHolder
Constructor Detail |
public EditableOMRangeRings()
public EditableOMRangeRings(GraphicAttributes ga)
public EditableOMRangeRings(OMRangeRings omc)
omc
- OMCircle that should be edited.Method Detail |
public void createGraphic(GraphicAttributes ga)
createGraphic
in class EditableOMCircle
ga
- GraphicAttributes, describing the graphic to be
created.public java.awt.Component getGUI(GraphicAttributes graphicAttributes)
getGUI
in class EditableOMCircle
graphicAttributes
- the GraphicAttributes to use to get
the GUI widget from to control those parameters for this
EOMG.
public void updateInterval(int val)
public void updateInterval(java.lang.String intervalStr)
protected javax.swing.JToolBar getRangeRingGUI()
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 |