Package hec.gfx2d

Class G2dPlotProp

java.lang.Object
hec.gfx2d.G2dPlotProp
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable

public class G2dPlotProp extends Object implements Cloneable, AsciiSerializable
Drawing properties for gfx2d labels.
See Also:
  • Field Details

    • col

      public int col
      plot column position in panel
    • row

      public int row
      plot row position in panel
    • colweight

      public double colweight
      plot column weight
    • rowweight

      public double rowweight
      plot row weight
    • rowheight

      public int rowheight
      sets the number of rows that a plot uses
    • colwidth

      public int colwidth
      sets the number of columns that a plot uses
    • hasX1Axis

      public boolean hasX1Axis
      flag indicating that plot contains x1 axis
    • x1AxisProp

      public AxisProp x1AxisProp
      axis property object defining x1 axis
    • hasX1Label

      public boolean hasX1Label
      flag indicating that plot contains x1 axis label
    • x1LabelProp

      public AxisLabelDrawProp x1LabelProp
      x1 axis label properties object
    • hasX1Tics

      public boolean hasX1Tics
      flag indicating that plot contains x1 axis tics
    • x1TicsProp

      public AxisTicsDrawProp x1TicsProp
      x1 axis tic properties object
    • hasX2Axis

      public boolean hasX2Axis
      flag indicating that plot contains x2 axis
    • x2AxisProp

      public AxisProp x2AxisProp
      axis property object defining x2 axis
    • hasX2Label

      public boolean hasX2Label
      flag indicating that plot contains x2 axis label
    • x2LabelProp

      public AxisLabelDrawProp x2LabelProp
      x2 axis label properties object
    • hasX2Tics

      public boolean hasX2Tics
      flag indicating that plot contains x2 axis tics
    • x2TicsProp

      public AxisTicsDrawProp x2TicsProp
      x2 axis tic properties object
    • hasXScroll

      public boolean hasXScroll
      flag indicating that plot contains x scrollbar
    • hasY1Axis

      public boolean hasY1Axis
      flag indicating that plot contains y1 axis
    • y1AxisProp

      public AxisProp y1AxisProp
      axis property object defining y1 axis
    • hasY1Label

      public boolean hasY1Label
      flag indicating that plot contains y1 axis label
    • y1LabelProp

      public AxisLabelDrawProp y1LabelProp
      y1 axis label properties object
    • hasY1Tics

      public boolean hasY1Tics
      flag indicating that plot contains y1 axis tics
    • y1TicsProp

      public AxisTicsDrawProp y1TicsProp
      y1 axis tic properties object
    • hasY2Axis

      public boolean hasY2Axis
      flag indicating that plot contains y1 axis
    • y2AxisProp

      public AxisProp y2AxisProp
      axis property object defining y2 axis
    • hasY2Label

      public boolean hasY2Label
      flag indicating that plot contains y2 axis label
    • y2LabelProp

      public AxisLabelDrawProp y2LabelProp
      y2 axis label properties object
    • hasY2Tics

      public boolean hasY2Tics
      flag indicating that plot contains y2 axis tics
    • y2TicsProp

      public AxisTicsDrawProp y2TicsProp
      y2 axis tic properties object
    • hasYScroll

      public boolean hasYScroll
      flag indicating that plot contains y scrollbar
    • viewportDrawProp

      public ViewportDrawProp viewportDrawProp
  • Constructor Details

    • G2dPlotProp

      public G2dPlotProp()
      Default Constructor
    • G2dPlotProp

      public G2dPlotProp(G2dPlotProp dp)
      Copy Constructor
  • Method Details

    • writeProperties

      public void writeProperties(BufferedWriter writer, String endTag)
    • readProperties

      public void readProperties(BufferedReader in, String endTag)
    • getClone

      public Object getClone()
    • set

      public void set(G2dPlotProp dp)
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful