edu.sc.seis.fissuresUtil.display
Class AmpScaleMapper
java.lang.Object
edu.sc.seis.fissuresUtil.display.UnitRangeMapper
edu.sc.seis.fissuresUtil.display.AmpScaleMapper
- All Implemented Interfaces:
- AmpListener, ScaleMapper, java.util.EventListener
public class AmpScaleMapper
- extends UnitRangeMapper
- implements AmpListener
AmpScaleMapper.java
Created: Fri Oct 22 14:47:39 1999
Constructor Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmpScaleMapper
public AmpScaleMapper(int totalPixels,
int hintPixels)
- this constructor assumes that some outside entity is going to set the
range on this scalemapper
AmpScaleMapper
public AmpScaleMapper(int totalPixels,
int hintPixels,
AmpConfig ac)
- this constructor uses the passed in amp config to determine the value for
the scale mapper
updateAmp
public void updateAmp(AmpEvent event)
- Specified by:
updateAmp
in interface AmpListener
setAmpConfig
public void setAmpConfig(AmpConfig ac)
getAxisLabel
public java.lang.String getAxisLabel()
- Specified by:
getAxisLabel
in interface ScaleMapper
- Overrides:
getAxisLabel
in class UnitRangeMapper