public abstract class AbstractShapeEditor extends AbstractLayer implements MouseListener, MouseMotionListener
Constructor and Description |
---|
AbstractShapeEditor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
arePositionsRedundant(Position posA,
Position posB) |
int |
getAltitudeMode() |
protected AnnotationAttributes |
getAnnotationAttributes() |
abstract String |
getEditMode() |
String |
getLabel(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(String editMode) |
protected void |
setInitialLabels() |
void |
setLabel(String labelName,
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
mouseDragged, mouseMoved
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
protected boolean aboveGround
public static final String ACCUMULATED_LABEL
protected String activeAction
public static final String ALTITUDE_LABEL
protected int altitudeMode
public static final String ANGLE_LABEL
protected ScreenAnnotation annotation
protected AnnotationAttributes annotationAttributes
public static final String AREA_LABEL
protected boolean armed
public static final String CENTER_ALTITUDE_LABEL
public static final String CENTER_LATITUDE_LABEL
public static final String CENTER_LONGITUDE_LABEL
public static final String EAST_SKEW_LABEL
protected String editMode
protected long frameTimestamp
public static final String HEADING_LABEL
public static final String HEIGHT_LABEL
public static final String LATITUDE_LABEL
public static final String LENGTH_LABEL
public static final String LONGITUDE_LABEL
public static final String MAJOR_AXIS_LABEL
public static final String MINOR_AXIS_LABEL
protected Point mousePoint
public static final String NORTH_SKEW_LABEL
public static final String PERIMETER_LABEL
public static final String RADIUS_LABEL
public static final String ROLL_LABEL
protected boolean showAnnotation
public static final String TILT_LABEL
protected UnitsFormat unitsFormat
public static final String WIDTH_LABEL
protected WorldWindow wwd
public int getAltitudeMode()
protected AnnotationAttributes getAnnotationAttributes()
public abstract String getEditMode()
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(String editMode)
protected void setInitialLabels()
public abstract void setShape(AbstractShape shape)
public void setShowAnnotation(boolean state)
public void setWorldWindow(WorldWindow wwd)
public abstract void updateAnnotation(Position pos)