Class RMCellRow

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class RMCellRow
    extends java.lang.Object
    implements java.lang.Cloneable
    This shape manages a row of cells.
    • Constructor Summary

      Constructors 
      Constructor Description
      RMCellRow()
      Creates a new cell row.
      RMCellRow​(RMCellTable aTable)
      Creates a new cell row.
    • 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 row.
      int getCellCount()
      Returns the number of cells in this row.
      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.
      float getHeight()
      Returns the row height.
      int getIndex()
      Returns the index of this row in the table.
      float getMaxY()
      Returns the row max y.
      RMCellTable getTable()
      Returns the row's parent table.
      float getY()
      Returns the row y.
      void resetDividers()
      Resets dividers so they will be recalculated.
      void setHeight​(double aHeight)
      Sets the row height.
      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

      • RMCellRow

        public RMCellRow()
        Creates a new cell row.
      • RMCellRow

        public RMCellRow​(RMCellTable aTable)
        Creates a new cell row.
    • Method Detail

      • getTable

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

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

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

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

        public float getY()
        Returns the row y.
      • getHeight

        public float getHeight()
        Returns the row height.
      • setHeight

        public void setHeight​(double aHeight)
        Sets the row height.
      • getMaxY

        public float getMaxY()
        Returns the row max y.
      • 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.