edu.sc.seis.fissuresUtil.display
Class DistanceScaleMapper

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.display.UnitRangeMapper
      extended by edu.sc.seis.fissuresUtil.display.DistanceScaleMapper
All Implemented Interfaces:
LayoutListener, ScaleMapper, java.util.EventListener

public class DistanceScaleMapper
extends UnitRangeMapper
implements LayoutListener


Constructor Summary
DistanceScaleMapper(int totalPixels, int hintPixels, LayoutConfig config)
           
 
Method Summary
 java.lang.String getAxisLabel()
           
 void setConfig(LayoutConfig config)
           
 void updateLayout(LayoutEvent e)
           
 
Methods inherited from class edu.sc.seis.fissuresUtil.display.UnitRangeMapper
calculateTicks, getLabel, getNumTicks, getPixelLocation, getTotalPixels, getUnit, isLabelTick, isMajorTick, setTotalPixels, setUnitRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceScaleMapper

public DistanceScaleMapper(int totalPixels,
                           int hintPixels,
                           LayoutConfig config)
Method Detail

updateLayout

public void updateLayout(LayoutEvent e)
Specified by:
updateLayout in interface LayoutListener

setConfig

public void setConfig(LayoutConfig config)

getAxisLabel

public java.lang.String getAxisLabel()
Specified by:
getAxisLabel in interface ScaleMapper
Overrides:
getAxisLabel in class UnitRangeMapper