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:
org.apache.poi.common.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.java.util.Map<java.lang.String,java.util.function.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)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
equals, 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)
-
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 interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classStandardRecord
-
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
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
-
-