public abstract class AbstractShapeEditor extends AbstractLayer implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
aboveGround |
static java.lang.String |
ACCUMULATED_LABEL |
protected java.lang.String |
activeAction |
static java.lang.String |
ALTITUDE_LABEL |
protected int |
altitudeMode |
static java.lang.String |
ANGLE_LABEL
Labels used in the annotations which are displayed during editing to show the current value of various shape
parameters.
|
protected ScreenAnnotation |
annotation |
protected AnnotationAttributes |
annotationAttributes |
static java.lang.String |
AREA_LABEL |
protected boolean |
armed |
static java.lang.String |
CENTER_ALTITUDE_LABEL |
static java.lang.String |
CENTER_LATITUDE_LABEL |
static java.lang.String |
CENTER_LONGITUDE_LABEL |
static java.lang.String |
EAST_SKEW_LABEL |
protected java.lang.String |
editMode |
protected long |
frameTimestamp |
static java.lang.String |
HEADING_LABEL |
static java.lang.String |
HEIGHT_LABEL |
static java.lang.String |
LATITUDE_LABEL |
static java.lang.String |
LENGTH_LABEL |
static java.lang.String |
LONGITUDE_LABEL |
static java.lang.String |
MAJOR_AXIS_LABEL |
static java.lang.String |
MINOR_AXIS_LABEL |
protected java.awt.Point |
mousePoint |
static java.lang.String |
NORTH_SKEW_LABEL |
static java.lang.String |
PERIMETER_LABEL |
static java.lang.String |
RADIUS_LABEL |
static java.lang.String |
ROLL_LABEL |
protected boolean |
showAnnotation |
static java.lang.String |
TILT_LABEL |
protected UnitsFormat |
unitsFormat |
static java.lang.String |
WIDTH_LABEL |
protected WorldWindow |
wwd |
Constructor and Description |
---|
AbstractShapeEditor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
arePositionsRedundant(Position posA,
Position posB) |
int |
getAltitudeMode() |
protected AnnotationAttributes |
getAnnotationAttributes() |
abstract java.lang.String |
getEditMode() |
java.lang.String |
getLabel(java.lang.String labelName) |
WorldWindow |
getWorldWindow() |
protected void |
initializeAnnotation() |
boolean |
isAboveGround() |
boolean |
isArmed() |
boolean |
isShowAnnotation() |
void |
setAboveGround(boolean state) |
void |
setAltitudeMode(int altitudeMode) |
protected void |
setAnnotationAttributes(AnnotationAttributes attributes) |
void |
setArmed(boolean armed) |
abstract void |
setEditMode(java.lang.String editMode) |
protected void |
setInitialLabels() |
void |
setLabel(java.lang.String labelName,
java.lang.String label) |
abstract void |
setShape(AbstractShape shape) |
void |
setShowAnnotation(boolean state) |
void |
setWorldWindow(WorldWindow wwd) |
abstract void |
updateAnnotation(Position pos) |
createLayerConfigElements, dispose, doPick, doPreRender, doRender, 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
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
protected boolean aboveGround
public static final java.lang.String ACCUMULATED_LABEL
protected java.lang.String activeAction
public static final java.lang.String ALTITUDE_LABEL
protected int altitudeMode
public static final java.lang.String ANGLE_LABEL
protected ScreenAnnotation annotation
protected AnnotationAttributes annotationAttributes
public static final java.lang.String AREA_LABEL
protected boolean armed
public static final java.lang.String CENTER_ALTITUDE_LABEL
public static final java.lang.String CENTER_LATITUDE_LABEL
public static final java.lang.String CENTER_LONGITUDE_LABEL
public static final java.lang.String EAST_SKEW_LABEL
protected java.lang.String editMode
protected long frameTimestamp
public static final java.lang.String HEADING_LABEL
public static final java.lang.String HEIGHT_LABEL
public static final java.lang.String LATITUDE_LABEL
public static final java.lang.String LENGTH_LABEL
public static final java.lang.String LONGITUDE_LABEL
public static final java.lang.String MAJOR_AXIS_LABEL
public static final java.lang.String MINOR_AXIS_LABEL
protected java.awt.Point mousePoint
public static final java.lang.String NORTH_SKEW_LABEL
public static final java.lang.String PERIMETER_LABEL
public static final java.lang.String RADIUS_LABEL
public static final java.lang.String ROLL_LABEL
protected boolean showAnnotation
public static final java.lang.String TILT_LABEL
protected UnitsFormat unitsFormat
public static final java.lang.String WIDTH_LABEL
protected WorldWindow wwd
public int getAltitudeMode()
protected AnnotationAttributes getAnnotationAttributes()
public abstract java.lang.String getEditMode()
public java.lang.String getLabel(java.lang.String labelName)
public WorldWindow getWorldWindow()
protected void initializeAnnotation()
public boolean isAboveGround()
public boolean isArmed()
public boolean isShowAnnotation()
public void setAboveGround(boolean state)
public void setAltitudeMode(int altitudeMode)
protected void setAnnotationAttributes(AnnotationAttributes attributes)
public void setArmed(boolean armed)
public abstract void setEditMode(java.lang.String editMode)
protected void setInitialLabels()
public void setLabel(java.lang.String labelName, java.lang.String label)
public abstract void setShape(AbstractShape shape)
public void setShowAnnotation(boolean state)
public void setWorldWindow(WorldWindow wwd)
public abstract void updateAnnotation(Position pos)