public class DistanceScaleMapper extends UnitRangeMapper implements LayoutListener
Constructor and Description |
---|
DistanceScaleMapper(int totalPixels,
int hintPixels,
LayoutConfig config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAxisLabel() |
void |
setConfig(LayoutConfig config) |
void |
updateLayout(LayoutEvent e) |
calculateTicks, getLabel, getNumTicks, getPixelLocation, getTotalPixels, getUnit, isLabelTick, isMajorTick, setTotalPixels, setUnitRange
public DistanceScaleMapper(int totalPixels, int hintPixels, LayoutConfig config)
public void updateLayout(LayoutEvent e)
updateLayout
in interface LayoutListener
public void setConfig(LayoutConfig config)
public java.lang.String getAxisLabel()
getAxisLabel
in interface ScaleMapper
getAxisLabel
in class UnitRangeMapper