Class RMCellColumn

java.lang.Object
com.reportmill.shape.RMCellColumn
All Implemented Interfaces:
Cloneable

public class RMCellColumn extends Object implements Cloneable
Provides info for a column in a cell table.
  • Constructor Details

    • RMCellColumn

      public RMCellColumn()
      Creates a new column.
    • RMCellColumn

      public RMCellColumn(RMCellTable aTable)
      Creates a new column for the given table.
  • Method Details

    • getTable

      public RMCellTable getTable()
      Returns the row's parent table.
    • getIndex

      public int getIndex()
      Returns the index of this column in the table.
    • getCellCount

      public int getCellCount()
      Returns the number of cells in this column.
    • getCell

      public RMCell getCell(int anIndex)
      Returns the specific child cell at the given index in the list of unique cells for this column.
    • getX

      public float getX()
      Returns the x of this column.
    • getWidth

      public float getWidth()
      Returns the width of this column.
    • setWidth

      public void setWidth(double aWidth)
      Sets the width of this column.
    • getMaxX

      public float getMaxX()
      Returns the max x of this column.
    • getDividerCount

      public int getDividerCount()
      Returns the divider count.
    • getDivider

      public RMCellDivider getDivider(int anIndex)
      Returns the specific divider at given index.
    • getDividers

      public List getDividers()
      Returns the dividers for this column.
    • resetDividers

      public void resetDividers()
      Resets dividers so they will be recalculated.
    • clone

      public Object clone()
      Returns a basic clone of this object.
      Overrides:
      clone in class Object
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.