public class SphereAirspaceEditor extends AbstractAirspaceEditor
Modifier and Type | Field and Description |
---|---|
static int |
RADIUS_CONTROL_ID |
LOWER_ALTITUDE, UPPER_ALTITUDE
Constructor and Description |
---|
SphereAirspaceEditor() |
SphereAirspaceEditor(AirspaceControlPointRenderer renderer) |
addControlPoint, addControlPoint, addEditListener, doMoveAirspaceLaterally, 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
propertyChange
onMessage
dispose
getRestorableState, restoreState
public static final int RADIUS_CONTROL_ID
public SphereAirspaceEditor()
public SphereAirspaceEditor(AirspaceControlPointRenderer renderer)
protected void assembleControlPoints(DrawContext dc)
assembleControlPoints
in class AbstractAirspaceEditor
public static Marker createDefaultMarker()
protected AirspaceControlPoint doAddControlPoint(WorldWindow wwd, Airspace airspace, Point mousePoint)
doAddControlPoint
in class AbstractAirspaceEditor
protected void doMoveAirspaceVertically(WorldWindow wwd, Airspace airspace, Point mousePoint, Point previousMousePoint)
doMoveAirspaceVertically
in class AbstractAirspaceEditor
protected void doMoveControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint, Point mousePoint, Point previousMousePoint)
doMoveControlPoint
in class AbstractAirspaceEditor
protected void doMoveRadiusControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint, Point mousePoint, Point previousMousePoint)
protected void doRemoveControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint)
doRemoveControlPoint
in class AbstractAirspaceEditor
protected void doResizeAtControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint, Point mousePoint, Point previousMousePoint)
doResizeAtControlPoint
in class AbstractAirspaceEditor
public Airspace getAirspace()
protected Vec4 getCenterPoint(WorldWindow wwd, Airspace airspace)
public static AirspaceControlPointRenderer getDefaultRenderer()
public double getMaxRadius()
public double getMinRadius()
public double getRadiusControlDrawDistance()
public SphereAirspace getSphere()
public boolean isAlwaysShowRadiusControl()
public void setAlwaysShowRadiusControl(boolean alwaysShow)
public void setMaxRadius(double radius)
public void setMinRadius(double radius)
public void setRadiusControlDrawDistance(double distance)
public void setSphere(SphereAirspace sphere)