Class RMCellColumn

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class RMCellColumn
    extends java.lang.Object
    implements java.lang.Cloneable
    Provides info for a column in a cell table.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      Returns a basic clone of this object.
      java.lang.Object fromXML​(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      RMCell getCell​(int anIndex)
      Returns the specific child cell at the given index in the list of unique cells for this column.
      int getCellCount()
      Returns the number of cells in this column.
      RMCellDivider getDivider​(int anIndex)
      Returns the specific divider at given index.
      int getDividerCount()
      Returns the divider count.
      java.util.List getDividers()
      Returns the dividers for this column.
      int getIndex()
      Returns the index of this column in the table.
      float getMaxX()
      Returns the max x of this column.
      RMCellTable getTable()
      Returns the row's parent table.
      float getWidth()
      Returns the width of this column.
      float getX()
      Returns the x of this column.
      void resetDividers()
      Resets dividers so they will be recalculated.
      void setWidth​(double aWidth)
      Sets the width of this column.
      RXElement toXML​(RXArchiver anArchiver)
      XML archival.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMCellColumn

        public RMCellColumn()
        Creates a new column.
      • RMCellColumn

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

      • 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 java.util.List getDividers()
        Returns the dividers for this column.
      • resetDividers

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

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

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