Package whistleClassifier.swing
Class ClassifierHistoryTimeAxis
java.lang.Object
Layout.PamAxis
whistleClassifier.swing.ClassifierHistoryTimeAxis
- 
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
ConstructorsConstructorDescriptionClassifierHistoryTimeAxis(int x1, int y1, int x2, int y2, double minVal, double maxVal, boolean aboveLeft, String label, String format) ClassifierHistoryTimeAxis(int x1, int y1, int x2, int y2, double minVal, double maxVal, int tickPosition, String label, int labelPos, String format)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawLogAxis(Graphics2D g2d) Draw a logarithmic axis on the graphics contextprotected StringformatValue(double val) Very specific case, where val is in munutes - want to format values invalid input: '<' 1 in seconds.Methods inherited from class Layout.PamAxis
drawAxis, drawAxis, drawGrid, drawGrid, drawLinearAxis, drawTickAndLabel, getAutoFormat, getAutoFormat, getAutoLabelFormat, getAxisPoints, getAxisValues, getDataValue, getDefaultScaleEnd, getExtent, getExtent, getExtent2, getExtent2, getExtraAxisEndLabel, getExtraAxisStartLabel, getFormat, getLabel, getLabelPos, getLogPoints, getMaxVal, getMinVal, getNumDecPlaces, getOuterPosition, getPosition, getTickPosition, getX1, getX2, getY1, getY2, isAllowScaleMultiples, isCrampLabels, isDrawLine, isFractionalScale, isIntegerFormat, isLogScale, isLogTenthsScale, overrideAxisColour, setAllowScaleMultiples, setAngleScales, setAutoFormat, setCrampLabels, setDrawLine, setExtraAxisEndLabel, setExtraAxisStartLabel, setForceFirstVal, setFormat, setFractionalScale, setInterval, setLabel, setLabelPos, setLogScale, setLogTenthsScale, setMaxVal, setMinVal, setPosition, setRange, setTickPosition, setX1, setX2, setY1, setY2 
- 
Constructor Details
- 
ClassifierHistoryTimeAxis
 - 
ClassifierHistoryTimeAxis
 
 - 
 - 
Method Details
- 
formatValue
Very specific case, where val is in munutes - want to format values invalid input: '<' 1 in seconds.- Overrides:
 formatValuein classPamAxis- Parameters:
 val- value- Returns:
 - formatted String
 
 - 
drawLogAxis
Description copied from class:PamAxisDraw a logarithmic axis on the graphics context- Overrides:
 drawLogAxisin classPamAxis- Parameters:
 g2d- graphics context to draw on
 
 -