|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.SelectionRecord
public final class SelectionRecord
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)
| Field Summary | |
|---|---|
static short |
sid
|
| Constructor Summary | |
|---|---|
SelectionRecord(int activeCellRow,
int activeCellCol)
Creates a default selection record (cell A1, in pane ID 3) |
|
SelectionRecord(RecordInputStream in)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
getActiveCellCol()
get the active cell's col |
int |
getActiveCellRef()
get the active cell's reference number |
int |
getActiveCellRow()
get the active cell's row |
byte |
getPane()
|
short |
getSid()
return the non static version of the id for this record. |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record. |
void |
setActiveCellCol(short col)
set the active cell's col |
void |
setActiveCellRef(short ref)
set the active cell's reference number |
void |
setActiveCellRow(int row)
set the active cell's row |
void |
setPane(byte pane)
set which window pane this is for |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
| Methods inherited from class org.apache.poi.hssf.record.StandardRecord |
|---|
getRecordSize, serialize |
| Methods inherited from class org.apache.poi.hssf.record.Record |
|---|
cloneViaReserialise, serialize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short sid
| Constructor Detail |
|---|
public SelectionRecord(int activeCellRow,
int activeCellCol)
public SelectionRecord(RecordInputStream in)
| Method Detail |
|---|
public void setPane(byte pane)
public void setActiveCellRow(int row)
row - number of active cellpublic void setActiveCellCol(short col)
col - number of active cellpublic void setActiveCellRef(short ref)
ref - number of active cellpublic byte getPane()
public int getActiveCellRow()
public int getActiveCellCol()
public int getActiveCellRef()
public java.lang.String toString()
Record
toString in class Recordpublic void serialize(LittleEndianOutput out)
StandardRecordRecordBase.getRecordSize()}
public short getSid()
Record
getSid in class Recordpublic java.lang.Object clone()
clone in class Record
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||