Package hec.geometry

Class TSAxis

All Implemented Interfaces:
AdjustmentListener, Serializable, EventListener
Direct Known Subclasses:
SeasonalAxis

public class TSAxis extends Axis implements AdjustmentListener
A coordinate axis for HecTime data.
See Also:
  • Field Details

  • Constructor Details

    • TSAxis

      public TSAxis(String n)
      Default Constructor
  • Method Details

    • getType

      public int getType()
      Overrides:
      getType in class Axis
    • computeTicInterval

      public void computeTicInterval()
      Find a nice tic interval
      Overrides:
      computeTicInterval in class Axis
    • computeNiceMinMax

      public void computeNiceMinMax()
      Description copied from class: Axis
      Find a nice tic interval
      Overrides:
      computeNiceMinMax in class Axis
    • getTicUnits

      public int getTicUnits()
    • getTicColor

      public Color getTicColor()
      Description copied from class: Axis
      get the color of the tics
      Overrides:
      getTicColor in class Axis
      Returns:
      the tic color
    • setTicColor

      public void setTicColor(Color c)
      Description copied from class: Axis
      set the tic color
      Overrides:
      setTicColor in class Axis
      Parameters:
      c - the new tic color
    • getTicTextColor

      public Color getTicTextColor()
      Description copied from class: Axis
      get the tic text color
      Overrides:
      getTicTextColor in class Axis
      Returns:
      the tic text color
    • setTicTextColor

      public void setTicTextColor(Color c)
      Description copied from class: Axis
      set the tic text color to c
      Overrides:
      setTicTextColor in class Axis
      Parameters:
      c - the new tic text color