Package hec.gfx2d

Class AxisTicsDrawProp

java.lang.Object
hec.gfx2d.PlotProperties
hec.gfx2d.AxisTicsDrawProp
All Implemented Interfaces:
AxisProperties, Cloneable

public class AxisTicsDrawProp extends PlotProperties implements Cloneable, AxisProperties
Drawing properties for gfx2d AxisTics.
  • Field Details

    • drawMajorTics

      public boolean drawMajorTics
    • drawMajorTicLabels

      public boolean drawMajorTicLabels
    • drawMinorTics

      public boolean drawMinorTics
    • drawMinorTicLabels

      public boolean drawMinorTicLabels
    • minorTicLabelColor

      public Color minorTicLabelColor
    • majorTicLength

      public int majorTicLength
    • minorTicLength

      public int minorTicLength
    • axisTicColor

      public Color axisTicColor
    • useMajorTicFontScaling

      public boolean useMajorTicFontScaling
      Major Tic font information
    • majorTicFontSize

      public int majorTicFontSize
    • majorTicTinyFontSize

      public int majorTicTinyFontSize
    • majorTicMinFontSize

      public int majorTicMinFontSize
    • majorTicMaxFontSize

      public int majorTicMaxFontSize
    • majorTicFontStyle

      public int majorTicFontStyle
    • majorTicFontFamily

      public String majorTicFontFamily
      Font Style
    • majorTicFont

      public Font majorTicFont
      Font Family
    • useMinorTicFontScaling

      public boolean useMinorTicFontScaling
      Minor Tic font information
    • minorTicFontSize

      public int minorTicFontSize
    • minorTicTinyFontSize

      public int minorTicTinyFontSize
    • minorTicMinFontSize

      public int minorTicMinFontSize
    • minorTicMaxFontSize

      public int minorTicMaxFontSize
    • minorTicFontStyle

      public int minorTicFontStyle
    • minorTicFontFamily

      public String minorTicFontFamily
      Font Style
    • minorTicFont

      public Font minorTicFont
      Font Family
  • Constructor Details

    • AxisTicsDrawProp

      public AxisTicsDrawProp()
      Default Constructor
    • AxisTicsDrawProp

      protected AxisTicsDrawProp(String cls)
    • AxisTicsDrawProp

      public AxisTicsDrawProp(AxisTicsDrawProp dp)
      Copy Constructor
      Parameters:
      dp - Description of Parameter
  • Method Details

    • init

      public static void init()
    • setShowMajorTics

      public void setShowMajorTics(boolean b)
      Specified by:
      setShowMajorTics in interface AxisProperties
      Parameters:
      b - True to show major axis tics, false otherwise
    • showMajorTicLabels

      public boolean showMajorTicLabels()
      Specified by:
      showMajorTicLabels in interface AxisProperties
    • setShowMajorTicLabels

      public void setShowMajorTicLabels(boolean b)
      Specified by:
      setShowMajorTicLabels in interface AxisProperties
    • setShowMinorTics

      public void setShowMinorTics(boolean b)
      Specified by:
      setShowMinorTics in interface AxisProperties
    • setShowMinorTicLabels

      public void setShowMinorTicLabels(boolean b)
      Specified by:
      setShowMinorTicLabels in interface AxisProperties
    • setMajorTicLength

      public void setMajorTicLength(int i)
    • setMinorTicLength

      public void setMinorTicLength(int i)
    • setAxisTicColor

      public void setAxisTicColor(Color c)
      Specified by:
      setAxisTicColor in interface AxisProperties
    • set

      public void set(AxisTicsDrawProp dp)
      Description of the Method
      Parameters:
      dp - Description of Parameter
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Sets the fieldObject attribute of the AxisTicsDrawProp object
      Parameters:
      fld - The new fieldObject value
      fobj - The new fieldObject value
      Returns:
      Description of the Returned Value
    • getAxisTicColor

      public Color getAxisTicColor()
      Gets the axisTicColor attribute of the AxisTicsDrawProp object
      Specified by:
      getAxisTicColor in interface AxisProperties
      Returns:
      The axisTicColor value
    • getClone

      public Object getClone()
      Gets the clone attribute of the AxisTicsDrawProp object
      Returns:
      The clone value
    • getFieldObject

      public Object getFieldObject(Field fld)
      Gets the fieldObject attribute of the AxisTicsDrawProp object
      Parameters:
      fld - Description of Parameter
      Returns:
      The fieldObject value
    • showMajorTics

      public boolean showMajorTics()
      Description of the Method
      Specified by:
      showMajorTics in interface AxisProperties
      Returns:
      Description of the Returned Value
    • showMinorTics

      public boolean showMinorTics()
      Description of the Method
      Specified by:
      showMinorTics in interface AxisProperties
      Returns:
      Description of the Returned Value
    • showTicLabels

      public boolean showTicLabels()
      Description of the Method
      Returns:
      Description of the Returned Value
    • showMinorTicLabels

      public boolean showMinorTicLabels()
      Specified by:
      showMinorTicLabels in interface AxisProperties
    • writeProperties

      public void writeProperties(BufferedWriter writer, String endTag)
      Description of the Method
      Parameters:
      writer - Description of Parameter
      endTag - Description of Parameter
    • readProperties

      public void readProperties(BufferedReader in, String endTag)
      Description of the Method
      Parameters:
      in - Description of Parameter
      endTag - Description of Parameter
    • setDefaults

      public static void setDefaults(AxisTicsDrawProp defaultProps)
      Sets the defaults attribute of the AxisTicsDrawProp class
      Parameters:
      defaultProps - The new defaults value
    • getFileName

      public static String getFileName()
      Gets the fileName attribute of the AxisTicsDrawProp class
      Returns:
      The fileName value
    • writeDefaults

      public static boolean writeDefaults()
      Description of the Method
      Returns:
      Description of the Returned Value
    • writeDefaults

      public static boolean writeDefaults(BufferedWriter writer)
    • writeDefaults

      protected static boolean writeDefaults(String cls, BufferedWriter writer)
    • loadDefaults

      public static boolean loadDefaults(BufferedReader in)
      Description of the Method
      Parameters:
      in - Description of Parameter
      Returns:
      Description of the Returned Value
    • loadDefaults

      protected static boolean loadDefaults(BufferedReader in, String endTag, String cls)
    • setMajorTicFontSize

      public void setMajorTicFontSize(int fontSize)
    • getMajorTicFontSize

      public int getMajorTicFontSize()
    • setMajorTicTinyFontSize

      public void setMajorTicTinyFontSize(int fontSize)
    • getMajorTicTinyFontSize

      public int getMajorTicTinyFontSize()
    • getMajorTicFontFamily

      public String getMajorTicFontFamily()
    • setMajorTicFontFamily

      public void setMajorTicFontFamily(String majorTicFontFamily)
    • getMajorTicFontStyle

      public int getMajorTicFontStyle()
    • setMajorTicFontStyle

      public void setMajorTicFontStyle(int majorTicFontStyle)
    • getMajorTicMaxFontSize

      public int getMajorTicMaxFontSize()
    • setMajorTicMaxFontSize

      public void setMajorTicMaxFontSize(int majorTicMaxFontSize)
    • getMajorTicMinFontSize

      public int getMajorTicMinFontSize()
    • setMajorTicMinFontSize

      public void setMajorTicMinFontSize(int majorTicMinFontSize)
    • getMinorTicFontFamily

      public String getMinorTicFontFamily()
    • setMinorTicFontFamily

      public void setMinorTicFontFamily(String minorTicFontFamily)
    • getMinorTicFontSize

      public int getMinorTicFontSize()
    • setMinorTicFontSize

      public void setMinorTicFontSize(int minorTicFontSize)
    • getMinorTicFontStyle

      public int getMinorTicFontStyle()
    • setMinorTicFontStyle

      public void setMinorTicFontStyle(int minorTicFontStyle)
    • getMinorTicMaxFontSize

      public int getMinorTicMaxFontSize()
    • setMinorTicMaxFontSize

      public void setMinorTicMaxFontSize(int minorTicMaxFontSize)
    • getMinorTicMinFontSize

      public int getMinorTicMinFontSize()
    • setMinorTicMinFontSize

      public void setMinorTicMinFontSize(int minorTicMinFontSize)
    • getMinorTicTinyFontSize

      public int getMinorTicTinyFontSize()
    • setMinorTicTinyFontSize

      public void setMinorTicTinyFontSize(int minorTicTinyFontSize)
    • isDrawMajorTicLabels

      public boolean isDrawMajorTicLabels()
    • setDrawMajorTicLabels

      public void setDrawMajorTicLabels(boolean drawMajorTicLabels)
    • isDrawMajorTics

      public boolean isDrawMajorTics()
    • setDrawMajorTics

      public void setDrawMajorTics(boolean drawMajorTics)
    • isDrawMinorTicLabels

      public boolean isDrawMinorTicLabels()
    • setDrawMinorTicLabels

      public void setDrawMinorTicLabels(boolean drawMinorTicLabels)
    • isDrawMinorTics

      public boolean isDrawMinorTics()
    • setDrawMinorTics

      public void setDrawMinorTics(boolean drawMinorTics)
    • useMinorTicFontScaling

      public boolean useMinorTicFontScaling()
    • setMinorTicFontScaling

      public void setMinorTicFontScaling(boolean minorTicFontScaling)
    • useMajorTicFontScaling

      public boolean useMajorTicFontScaling()
    • setUseMajorTicFontScaling

      public void setUseMajorTicFontScaling(boolean useMajorTicFontScaling)
    • setUseMinorTicFontScaling

      public void setUseMinorTicFontScaling(boolean useMinorTicFontScaling)
    • getMajorTicFont

      public Font getMajorTicFont()
    • setMajorTicFont

      public void setMajorTicFont(Font f)
    • getMinorTicFont

      public Font getMinorTicFont()
    • setMinorTicFont

      public void setMinorTicFont(Font f)