Package org.apache.poi.hssf.record
Class PaneRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.PaneRecord
-
- All Implemented Interfaces:
Duplicatable,GenericRecord
public final class PaneRecord extends StandardRecord
Describes the frozen and unfrozen panes.
-
-
Field Summary
Fields Modifier and Type Field Description static shortACTIVE_PANE_LOWER_LEFTstatic shortACTIVE_PANE_LOWER_RIGHTstatic shortACTIVE_PANE_UPPER_LEFTstatic shortACTIVE_PANE_UPPER_RIGHTstatic shortsid
-
Constructor Summary
Constructors Constructor Description PaneRecord()PaneRecord(PaneRecord other)PaneRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaneRecordcopy()shortgetActivePane()Get the active pane field for the Pane record.protected intgetDataSize()Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()shortgetLeftColumn()Get the left column field for the Pane record.shortgetSid()return the non static version of the id for this record.shortgetTopRow()Get the top row field for the Pane record.shortgetX()Get the x field for the Pane record.shortgetY()Get the y field for the Pane record.voidserialize(LittleEndianOutput out)Write the data content of this BIFF record.voidsetActivePane(short field_5_activePane)Set the active pane field for the Pane record.voidsetLeftColumn(short field_4_leftColumn)Set the left column field for the Pane record.voidsetTopRow(short field_3_topRow)Set the top row field for the Pane record.voidsetX(short field_1_x)Set the x field for the Pane record.voidsetY(short field_2_y)Set the y field for the Pane record.-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
ACTIVE_PANE_LOWER_RIGHT
public static final short ACTIVE_PANE_LOWER_RIGHT
- See Also:
- Constant Field Values
-
ACTIVE_PANE_UPPER_RIGHT
public static final short ACTIVE_PANE_UPPER_RIGHT
- See Also:
- Constant Field Values
-
ACTIVE_PANE_LOWER_LEFT
public static final short ACTIVE_PANE_LOWER_LEFT
- See Also:
- Constant Field Values
-
ACTIVE_PANE_UPPER_LEFT
public static final short ACTIVE_PANE_UPPER_LEFT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaneRecord
public PaneRecord()
-
PaneRecord
public PaneRecord(PaneRecord other)
-
PaneRecord
public PaneRecord(RecordInputStream in)
-
-
Method Detail
-
serialize
public void serialize(LittleEndianOutput out)
Description copied from class:StandardRecordWrite 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 consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).- Specified by:
serializein classStandardRecord- Parameters:
out- the output object
-
getDataSize
protected int getDataSize()
- Specified by:
getDataSizein classStandardRecord
-
getSid
public short getSid()
Description copied from class:Recordreturn the non static version of the id for this record.
-
copy
public PaneRecord copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classStandardRecord- Returns:
- a deep copy of the implementing class / instance
-
getX
public short getX()
Get the x field for the Pane record.- Returns:
- the x value
-
setX
public void setX(short field_1_x)
Set the x field for the Pane record.- Parameters:
field_1_x- the x value
-
getY
public short getY()
Get the y field for the Pane record.- Returns:
- the y value
-
setY
public void setY(short field_2_y)
Set the y field for the Pane record.- Parameters:
field_2_y- the y value
-
getTopRow
public short getTopRow()
Get the top row field for the Pane record.- Returns:
- the top row
-
setTopRow
public void setTopRow(short field_3_topRow)
Set the top row field for the Pane record.- Parameters:
field_3_topRow- the top row
-
getLeftColumn
public short getLeftColumn()
Get the left column field for the Pane record.- Returns:
- the left column
-
setLeftColumn
public void setLeftColumn(short field_4_leftColumn)
Set the left column field for the Pane record.- Parameters:
field_4_leftColumn- the left column
-
getActivePane
public short getActivePane()
Get the active pane field for the Pane record.- Returns:
- One of ACTIVE_PANE_LOWER_RIGHT ACTIVE_PANE_UPPER_RIGHT ACTIVE_PANE_LOWER_LEFT ACTIVE_PANE_UPPER_LEFT
-
setActivePane
public void setActivePane(short field_5_activePane)
Set the active pane field for the Pane record.- Parameters:
field_5_activePane- One of ACTIVE_PANE_LOWER_RIGHT ACTIVE_PANE_UPPER_RIGHT ACTIVE_PANE_LOWER_LEFT ACTIVE_PANE_UPPER_LEFT
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
-