Package hec.gfx2d

Class AxisTicFactory

java.lang.Object
hec.gfx2d.AxisTicFactory

public class AxisTicFactory extends Object
This is a Factory object that creates an AxisTics object for any given type of axis.
Since:
October 28, 2000
See Also:
  • Constructor Details

    • AxisTicFactory

      public AxisTicFactory()
  • Method Details

    • addMapping

      public static void addMapping(String axisClass, String axisTicsClass)
      Add an axis mapping to the factory. This allows the factory to create an AxisTics object for a given axis.
      Parameters:
      axisClass - the classname of the axis
      axisTicsClass - the classname of the axis tics class
    • createAxisTics

      public static AxisTics createAxisTics(G2dPanel parent, Axis axis, Viewport view, int pos)