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, setUnitRangepublic DistanceScaleMapper(int totalPixels,
int hintPixels,
LayoutConfig config)
public void updateLayout(LayoutEvent e)
updateLayout in interface LayoutListenerpublic void setConfig(LayoutConfig config)
public java.lang.String getAxisLabel()
getAxisLabel in interface ScaleMappergetAxisLabel in class UnitRangeMapper