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