net.quies.math.plot
Class XAxis

java.lang.Object
  extended by net.quies.math.plot.Axis
      extended by net.quies.math.plot.XAxis

public final class XAxis
extends Axis

Since:
1.0
Author:
Pascal S. de Kloe

Constructor Summary
XAxis()
           
XAxis(String description)
           
XAxis(String description, IndexScheme scheme, Format format)
           
 
Method Summary
static String getDefaultDescription()
           
static Format getDefaultFormat()
           
static IndexScheme getDefaultIndexScheme()
           
static float getDefaultLabelOffsetX()
           
static float getDefaultLabelOffsetY()
           
 
Methods inherited from class net.quies.math.plot.Axis
getLabelOffsetX, getLabelOffsetY, getLabelPaint, getNailLength, getNailStroke, getPaint, getPreferredSteps, getStroke, getZigZaginess, setLabelOffsetX, setLabelOffsetY, setLabelPaint, setNailLength, setNailStroke, setPaint, setPreferredSteps, setStroke, setZigZaginess, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XAxis

public XAxis()
Since:
1.0

XAxis

public XAxis(String description)
Parameters:
description - a short description.
Since:
1.0

XAxis

public XAxis(String description,
             IndexScheme scheme,
             Format format)
Parameters:
description - a short description.
format - the format for the x-coordinates.
Since:
1.0
Method Detail

getDefaultDescription

public static String getDefaultDescription()
Returns:
"x".
Since:
1.0

getDefaultIndexScheme

public static IndexScheme getDefaultIndexScheme()
Returns:
a LinearDecimalIndexScheme.
Since:
1.0

getDefaultFormat

public static Format getDefaultFormat()
Returns:
a NumberFormat.
Since:
1.0

getDefaultLabelOffsetX

public static float getDefaultLabelOffsetX()
Returns:
0.
Since:
1.0
See Also:
Axis.setLabelOffsetX(float)

getDefaultLabelOffsetY

public static float getDefaultLabelOffsetY()
Returns:
-7.
Since:
1.0
See Also:
Axis.setLabelOffsetY(float)