Class XAxisScalarMap

All Implemented Interfaces:
Comparable, Propertied

public final class XAxisScalarMap extends AxisScalarMap
Provides support for adapting ScalarMap-s to Display.XAxis.

Instances of this class have the the JavaBean properties of the superclass.

Version:
$Revision: 1.9 $
Author:
Steven R. Emmerson
  • Constructor Details

  • Method Details

    • translate

      protected void translate(double amount, AffineTransform transform)
      Translates the axis values.
      Specified by:
      translate in class AxisScalarMap
      Parameters:
      amount - The amount to translate the axis.
      transform - The transformation to be translated.
    • new3DTranslationVector

      protected javax.vecmath.Vector3d new3DTranslationVector(double amount)
      Returns a new, 3-D, translation vector.
      Specified by:
      new3DTranslationVector in class AxisScalarMap
      Parameters:
      amount - The amount to translate the axis.
      Returns:
      Vector3D with the x translation amount
    • scale

      protected void scale(double amount, AffineTransform transform)
      Scales the axis values.
      Specified by:
      scale in class AxisScalarMap
      Parameters:
      amount - The amount to scale the axis by.
      transform - The transformation to be scaled.
    • scale

      protected void scale(double[] values, double amount)
      Scales an array of values by a given amount
      Specified by:
      scale in class AxisScalarMap
      Parameters:
      values - The array of values to be scaled.
      amount - The amount to scale the values.