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)
(获取窗口的水平位置(以点的 1/20 为单位))
|
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.
(返回此记录的 id 的非静态版本。)
|
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)
(获取窗口的垂直位置(点的 1/20))
|
short |
getWidth()
get the width of the window
(获取窗口的宽度)
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
(写入此 BIFF 记录的数据内容。)
|
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)
(设置窗口的水平位置(以点的 1/20 为单位))
|
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)
(设置窗口的垂直位置(以点的 1/20 为单位))
|
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 location
(h - - 水平位置)
public void setVerticalHold(short v)
v
- - vertical location
(v - - 垂直位置)
public void setWidth(short w)
w
- width
(w - 宽度)
public void setHeight(short h)
h
- height
(h - 高度)
public void setOptions(short o)
o
- - the bitmask
(o - - 位掩码)
public void setHidden(boolean ishidden)
ishidden
- or not
(隐藏 - 或不)
public void setIconic(boolean isiconic)
isiconic
- iconize or not
(isiconic - 是否图标化)
public void setDisplayHorizonalScrollbar(boolean scroll)
scroll
- display or not
(滚动 - 显示与否)
public void setDisplayVerticalScrollbar(boolean scroll)
scroll
- display or not
(滚动 - 显示与否)
public void setDisplayTabs(boolean disptabs)
disptabs
- display or not
(disptabs - 显示与否)
public void setActiveSheetIndex(int index)
public void setFirstVisibleTab(int t)
t
- the sheet index of the tab that will become the first in the tab-bar
(t - 选项卡的工作表索引,将成为选项卡栏中的第一个)
public void setNumSelectedTabs(short n)
n
- number of tabs
(n - 选项卡数)
public void setTabWidthRatio(short r)
r
- ratio
(r - 比率)
public 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
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public short getSid()
Record
public WindowOneRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.