whistleClassifier
Class ClassifierHistoryTimeAxis

java.lang.Object
  extended by Layout.PamAxis
      extended by whistleClassifier.ClassifierHistoryTimeAxis

public class ClassifierHistoryTimeAxis
extends PamAxis


Field Summary
 
Fields inherited from class Layout.PamAxis
ABOVE_LEFT, BELOW_RIGHT, BOTH_SIDES, INTERVAL_AUTO, LABEL_NEAR_CENTRE, LABEL_NEAR_MAX, LABEL_NEAR_MIN
 
Constructor Summary
ClassifierHistoryTimeAxis(int x1, int y1, int x2, int y2, double minVal, double maxVal, boolean aboveLeft, java.lang.String label, java.lang.String format)
           
ClassifierHistoryTimeAxis(int x1, int y1, int x2, int y2, double minVal, double maxVal, int tickPosition, java.lang.String label, int labelPos, java.lang.String format)
           
 
Method Summary
protected  void drawLogAxis(java.awt.Graphics2D g2d)
          Draw a logarithmic axis on the graphics context
protected  java.lang.String formatValue(double val)
          Very specific case, where val is in munutes - want to format values < 1 in seconds.
 
Methods inherited from class Layout.PamAxis
drawAxis, drawAxis, drawGrid, drawGrid, drawLinearAxis, drawTickAndLabel, getAxisPoints, getAxisValues, getDataValue, getDefaultScaleEnd, getExtent, getExtent, getExtent2, getExtent2, getFormat, getLabel, getLabelPos, getLogPoints, getMaxVal, getMinVal, getPosition, getTickPosition, getX1, getX2, getY1, getY2, isAllowScaleMultiples, isDrawLine, isFractionalScale, isIntegerFormat, isLogScale, isLogTenthsScale, setAllowScaleMultiples, setAngleScales, setDrawLine, setForceFirstVal, setFormat, setFractionalScale, setInterval, setLabel, setLabelPos, setLogScale, setLogTenthsScale, setMaxVal, setMinVal, setPosition, setRange, setTickPosition, setX1, setX2, setY1, setY2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifierHistoryTimeAxis

public ClassifierHistoryTimeAxis(int x1,
                                 int y1,
                                 int x2,
                                 int y2,
                                 double minVal,
                                 double maxVal,
                                 boolean aboveLeft,
                                 java.lang.String label,
                                 java.lang.String format)

ClassifierHistoryTimeAxis

public ClassifierHistoryTimeAxis(int x1,
                                 int y1,
                                 int x2,
                                 int y2,
                                 double minVal,
                                 double maxVal,
                                 int tickPosition,
                                 java.lang.String label,
                                 int labelPos,
                                 java.lang.String format)
Method Detail

formatValue

protected java.lang.String formatValue(double val)
Very specific case, where val is in munutes - want to format values < 1 in seconds.

Overrides:
formatValue in class PamAxis
Parameters:
val - value
Returns:
formatted String

drawLogAxis

protected void drawLogAxis(java.awt.Graphics2D g2d)
Description copied from class: PamAxis
Draw a logarithmic axis on the graphics context

Overrides:
drawLogAxis in class PamAxis
Parameters:
g2d - graphics context to draw on