public class DefaultAnnotationAttributes
extends gov.nasa.worldwind.render.AnnotationAttributes
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
BACKGROUND_COLOR |
static int |
CORNER_RADIUS |
static double |
DISTANCE_MAX_SCALE |
static double |
DISTANCE_MIN_OPACITY |
static double |
DISTANCE_MIN_SCALE |
static java.awt.Point |
DRAW_OFFSET |
static java.awt.Insets |
INSETS |
static int |
LEADER_GAP_WIDTH |
private static long |
serialVersionUID
Unique class id
|
static java.awt.Color |
TEXT_COLOR |
private java.util.UUID |
uuid |
Constructor and Description |
---|
DefaultAnnotationAttributes()
Constructor that sets default values to the attributes
|
DefaultAnnotationAttributes(gov.nasa.worldwind.render.AnnotationAttributes attr)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
private void |
readObject(java.io.ObjectInputStream in)
Custom deserialization process to deserialize non-serializable superclass.
|
private void |
writeObject(java.io.ObjectOutputStream out)
Custom serialization process to serialize non-serializable superclass
|
getAdjustWidthToText, getAntiAliasHint, getBackgroundColor, getBackgroundTexture, getBorderColor, getBorderStippleFactor, getBorderStipplePattern, getBorderWidth, getCornerRadius, getDistanceMaxScale, getDistanceMinOpacity, getDistanceMinScale, getDrawOffset, getEffect, getFont, getFrameShape, getHighlightScale, getImageOffset, getImageOpacity, getImageRepeat, getImageScale, getImageSource, getInsets, getLeader, getLeaderGapWidth, getOpacity, getPath, getRestorableState, getScale, getSize, getTextAlign, getTextColor, isHighlighted, isUnresolved, isVisible, restoreState, setAdjustWidthToText, setAntiAliasHint, setBackgroundColor, setBorderColor, setBorderStippleFactor, setBorderStipplePattern, setBorderWidth, setCornerRadius, setDefaults, setDistanceMaxScale, setDistanceMinOpacity, setDistanceMinScale, setDrawOffset, setEffect, setFont, setFrameShape, setHighlighted, setHighlightScale, setImageOffset, setImageOpacity, setImageRepeat, setImageScale, setImageSource, setInsets, setLeader, setLeaderGapWidth, setOpacity, setScale, setSize, setTextAlign, setTextColor, setUnresolved, setVisible
public static final int CORNER_RADIUS
public static final java.awt.Insets INSETS
public static final java.awt.Color BACKGROUND_COLOR
public static final java.awt.Color TEXT_COLOR
public static final double DISTANCE_MIN_SCALE
public static final double DISTANCE_MAX_SCALE
public static final double DISTANCE_MIN_OPACITY
public static final int LEADER_GAP_WIDTH
public static final java.awt.Point DRAW_OFFSET
private static final long serialVersionUID
private java.util.UUID uuid
public DefaultAnnotationAttributes()
public DefaultAnnotationAttributes(gov.nasa.worldwind.render.AnnotationAttributes attr)
attr
- Attribute to copyprivate void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
out
- Output stream for serializationjava.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- Input stream for deserializationjava.io.IOException
java.lang.ClassNotFoundException
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object