public class AmpScaleMapper extends UnitRangeMapper implements AmpListener
| Constructor and Description |
|---|
AmpScaleMapper(int totalPixels,
int hintPixels)
this constructor assumes that some outside entity is going to set the
range on this scalemapper
|
AmpScaleMapper(int totalPixels,
int hintPixels,
AmpConfig ac)
this constructor uses the passed in amp config to determine the value for
the scale mapper
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAxisLabel() |
void |
setAmpConfig(AmpConfig ac) |
void |
updateAmp(AmpEvent event) |
calculateTicks, getLabel, getNumTicks, getPixelLocation, getTotalPixels, getUnit, isLabelTick, isMajorTick, setTotalPixels, setUnitRangepublic AmpScaleMapper(int totalPixels,
int hintPixels)
public AmpScaleMapper(int totalPixels,
int hintPixels,
AmpConfig ac)
public void updateAmp(AmpEvent event)
updateAmp in interface AmpListenerpublic void setAmpConfig(AmpConfig ac)
public java.lang.String getAxisLabel()
getAxisLabel in interface ScaleMappergetAxisLabel in class UnitRangeMapper