Class RtfExtraRowSet.PositionedCell

  • All Implemented Interfaces:
    java.lang.Comparable
    Enclosing class:
    RtfExtraRowSet

    private static class RtfExtraRowSet.PositionedCell
    extends java.lang.Object
    implements java.lang.Comparable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object o)
      cells need to be sorted by row index and then by x offset
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()
      debugging dump
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • xOffset

        private final int xOffset
      • rowIndex

        private final int rowIndex
    • Constructor Detail

      • PositionedCell

        PositionedCell​(RtfTableCell c,
                       int index,
                       int offset)
    • Method Detail

      • toString

        public java.lang.String toString()
        debugging dump
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(java.lang.Object o)
        cells need to be sorted by row index and then by x offset
        Specified by:
        compareTo in interface java.lang.Comparable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object