public class ScreenSizeDetailLevel extends AVListImpl implements DetailLevel
Constructor and Description |
---|
ScreenSizeDetailLevel(double minimumScreenSize,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DetailLevel level) |
static double[] |
computeDefaultScreenSizeRamp(int levels) |
static double[] |
computeLinearScreenSizeRamp(int levels,
double min,
double max) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getKey() |
double |
getScreenSize() |
int |
hashCode() |
boolean |
meetsCriteria(DrawContext dc,
Airspace airspace) |
java.lang.String |
toString() |
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, finalize, getClass, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public ScreenSizeDetailLevel(double minimumScreenSize, java.lang.String key)
public int compareTo(DetailLevel level)
compareTo
in interface DetailLevel
compareTo
in interface java.lang.Comparable<DetailLevel>
public static double[] computeDefaultScreenSizeRamp(int levels)
public static double[] computeLinearScreenSizeRamp(int levels, double min, double max)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getKey()
public double getScreenSize()
public int hashCode()
hashCode
in class java.lang.Object
public boolean meetsCriteria(DrawContext dc, Airspace airspace)
meetsCriteria
in interface DetailLevel
public java.lang.String toString()
toString
in class java.lang.Object