public class PolygonEditor extends AbstractAirspaceEditor
LOWER_ALTITUDE, UPPER_ALTITUDE
Constructor and Description |
---|
PolygonEditor() |
PolygonEditor(AirspaceControlPointRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
protected void |
addPolygonControlPoint(DrawContext dc,
int locationIndex,
int altitudeIndex) |
protected void |
assembleControlPoints(DrawContext dc) |
protected AirspaceControlPoint |
doAddControlPoint(WorldWindow wwd,
Airspace airspace,
java.awt.Point mousePoint) |
protected AirspaceControlPoint |
doAddFirstLocation(WorldWindow wwd,
java.awt.Point mousePoint) |
protected AirspaceControlPoint |
doAddNextLocation(WorldWindow wwd,
java.awt.Point mousePoint) |
protected void |
doMoveControlPoint(WorldWindow wwd,
AirspaceControlPoint controlPoint,
java.awt.Point mousePoint,
java.awt.Point previousMousePoint) |
protected void |
doRemoveControlPoint(WorldWindow wwd,
AirspaceControlPoint controlPoint) |
protected void |
doResizeAtControlPoint(WorldWindow wwd,
AirspaceControlPoint controlPoint,
java.awt.Point mousePoint,
java.awt.Point previousMousePoint) |
Airspace |
getAirspace() |
Polygon |
getPolygon() |
void |
setPolygon(Polygon polygon) |
addControlPoint, addControlPoint, addEditListener, doMoveAirspaceLaterally, doMoveAirspaceVertically, doPick, doRender, draw, fireAirspaceMoved, fireAirspaceResized, fireControlPointAdded, fireControlPointChanged, fireControlPointRemoved, getControlPointRenderer, getCurrentControlPoints, getEditListeners, isArmed, isKeepControlPointsAboveTerrain, isUseRubberBand, moveAirspaceLaterally, moveAirspaceVertically, moveControlPoint, removeControlPoint, removeEditListener, resizeAtControlPoint, setArmed, setControlPointRenderer, setCurrentControlPoints, setKeepControlPointsAboveTerrain, setUseRubberBand
createLayerConfigElements, dispose, doPreRender, getDataFileStore, getExpiryTime, getLayerConfigParams, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getOpacity, getRestorableState, getScale, getScreenCredit, isAtMaxResolution, isEnabled, isLayerActive, isLayerConfigDocument, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, restoreState, setDataFileStore, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled, setScreenCredit, toString
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExpiryTime, getMaxActiveAltitude, getMaxEffectiveAltitude, getMinActiveAltitude, getMinEffectiveAltitude, getName, getOpacity, getScale, isAtMaxResolution, isEnabled, isLayerActive, isLayerInView, isMultiResolution, isNetworkRetrievalEnabled, isPickEnabled, pick, preRender, render, setEnabled, setExpiryTime, setMaxActiveAltitude, setMinActiveAltitude, setName, setNetworkRetrievalEnabled, setOpacity, setPickEnabled
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
dispose
getRestorableState, restoreState
public PolygonEditor()
public PolygonEditor(AirspaceControlPointRenderer renderer)
protected void addPolygonControlPoint(DrawContext dc, int locationIndex, int altitudeIndex)
protected void assembleControlPoints(DrawContext dc)
assembleControlPoints
in class AbstractAirspaceEditor
protected AirspaceControlPoint doAddControlPoint(WorldWindow wwd, Airspace airspace, java.awt.Point mousePoint)
doAddControlPoint
in class AbstractAirspaceEditor
protected AirspaceControlPoint doAddFirstLocation(WorldWindow wwd, java.awt.Point mousePoint)
protected AirspaceControlPoint doAddNextLocation(WorldWindow wwd, java.awt.Point mousePoint)
protected void doMoveControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint, java.awt.Point mousePoint, java.awt.Point previousMousePoint)
doMoveControlPoint
in class AbstractAirspaceEditor
protected void doRemoveControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint)
doRemoveControlPoint
in class AbstractAirspaceEditor
protected void doResizeAtControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint, java.awt.Point mousePoint, java.awt.Point previousMousePoint)
doResizeAtControlPoint
in class AbstractAirspaceEditor
public Airspace getAirspace()
public Polygon getPolygon()
public void setPolygon(Polygon polygon)