Documentation of 'org.apache.poi.hssf.record.SelectionRecord' Java class
SelectionRecord
org.apache.poi.hssf.record

Class SelectionRecord



  • public final class SelectionRecord
    extends StandardRecord
    Title: Selection Record (0x001D)

    Description: shows the user's selection on the sheet for write set num refs to 0

    REFERENCE: PG 291 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)

    • Constructor Detail

      • SelectionRecord

        public SelectionRecord(int activeCellRow,
                               int activeCellCol)
        Creates a default selection record (cell A1, in pane ID 3)
    • Method Detail

      • setPane

        public void setPane(byte pane)
        set which window pane this is for
      • setActiveCellRow

        public void setActiveCellRow(int row)
        set the active cell's row
        Parameters:
        row - number of active cell
      • setActiveCellCol

        public void setActiveCellCol(short col)
        set the active cell's col
        Parameters:
        col - number of active cell
      • setActiveCellRef

        public void setActiveCellRef(short ref)
        set the active cell's reference number
        Parameters:
        ref - number of active cell
      • getPane

        public byte getPane()
        Returns:
        the pane ID which window pane this is for
      • getActiveCellRow

        public int getActiveCellRow()
        get the active cell's row
        Returns:
        row number of active cell
      • getActiveCellCol

        public int getActiveCellCol()
        get the active cell's col
        Returns:
        col number of active cell
      • getActiveCellRef

        public int getActiveCellRef()
        get the active cell's reference number
        Returns:
        ref number of active cell
      • toString

        public java.lang.String toString()
        Description copied from class: Record
        get a string representation of the record (for biffview/debugging)
        Overrides:
        toString in class Record
      • serialize

        public void serialize(LittleEndianOutput out)
        Description copied from class: StandardRecord
        Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
        The number of bytes written must equal the record size reported by RecordBase.getRecordSize()} minus four ( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written by thye superclass).
      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class Record

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.