public final class WindowOneRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
WindowOneRecord() |
WindowOneRecord(RecordInputStream in) |
WindowOneRecord(WindowOneRecord other) |
Modifier and Type | Method and Description |
---|---|
WindowOneRecord |
copy() |
int |
getActiveSheetIndex() |
protected int |
getDataSize() |
boolean |
getDisplayHorizontalScrollbar()
get whether to display the horizontal scrollbar or not
|
boolean |
getDisplayTabs()
get whether to display the tabs or not
|
boolean |
getDisplayVerticalScrollbar()
get whether to display the vertical scrollbar or not
|
int |
getFirstVisibleTab() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
short |
getHeight()
get the height of the window
|
boolean |
getHidden()
get whether the window is hidden or not
|
short |
getHorizontalHold()
get the horizontal position of the window (in 1/20ths of a point)
|
boolean |
getIconic()
get whether the window has been iconized or not
|
short |
getNumSelectedTabs()
get the number of selected tabs
|
short |
getOptions()
get the options bitmask (see bit setters)
|
short |
getSid()
return the non static version of the id for this record.
|
short |
getTabWidthRatio()
ratio of the width of the tabs to the horizontal scrollbar
|
short |
getVerticalHold()
get the vertical position of the window (in 1/20ths of a point)
|
short |
getWidth()
get the width of the window
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setActiveSheetIndex(int index) |
void |
setDisplayHorizonalScrollbar(boolean scroll)
set whether to display the horizontal scrollbar or not
|
void |
setDisplayTabs(boolean disptabs)
set whether to display the tabs or not
|
void |
setDisplayVerticalScrollbar(boolean scroll)
set whether to display the vertical scrollbar or not
|
void |
setFirstVisibleTab(int t)
Sets the first visible sheet in the worksheet tab-bar.
|
void |
setHeight(short h)
set teh height of the window
|
void |
setHidden(boolean ishidden)
set whether the window is hidden or not
|
void |
setHorizontalHold(short h)
set the horizontal position of the window (in 1/20ths of a point)
|
void |
setIconic(boolean isiconic)
set whether the window has been iconized or not
|
void |
setNumSelectedTabs(short n)
set the number of selected tabs
|
void |
setOptions(short o)
set the options bitmask (see bit setters)
|
void |
setTabWidthRatio(short r)
ratio of the width of the tabs to the horizontal scrollbar
|
void |
setVerticalHold(short v)
set the vertical position of the window (in 1/20ths of a point)
|
void |
setWidth(short w)
set the width of the window
|
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public WindowOneRecord()
public WindowOneRecord(WindowOneRecord other)
public WindowOneRecord(RecordInputStream in)
public void setHorizontalHold(short h)
h
- - horizontal locationpublic void setVerticalHold(short v)
v
- - vertical locationpublic void setWidth(short w)
w
- widthpublic void setHeight(short h)
h
- heightpublic void setOptions(short o)
o
- - the bitmaskpublic void setHidden(boolean ishidden)
ishidden
- or notpublic void setIconic(boolean isiconic)
isiconic
- iconize or notpublic void setDisplayHorizonalScrollbar(boolean scroll)
scroll
- display or notpublic void setDisplayVerticalScrollbar(boolean scroll)
scroll
- display or notpublic void setDisplayTabs(boolean disptabs)
disptabs
- display or notpublic void setActiveSheetIndex(int index)
public void setFirstVisibleTab(int t)
t
- the sheet index of the tab that will become the first in the tab-barpublic void setNumSelectedTabs(short n)
n
- number of tabspublic void setTabWidthRatio(short r)
r
- ratiopublic short getHorizontalHold()
public short getVerticalHold()
public short getWidth()
public short getHeight()
public short getOptions()
public boolean getHidden()
public boolean getIconic()
public boolean getDisplayHorizontalScrollbar()
public boolean getDisplayVerticalScrollbar()
public boolean getDisplayTabs()
public int getActiveSheetIndex()
public int getFirstVisibleTab()
public short getNumSelectedTabs()
public short getTabWidthRatio()
public void serialize(LittleEndianOutput out)
StandardRecord
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).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
public WindowOneRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface GenericRecord
getGenericRecordType
in class Record
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.