类 EbscTable.Builder
java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable.Builder<T>
com.google.typography.font.sfntly.table.Table.Builder<EbscTable>
com.google.typography.font.sfntly.table.bitmap.EbscTable.Builder
- 封闭类:
EbscTable
-
构造器概要
构造器限定符构造器说明protected
Builder
(Header header, ReadableFontData data) protected
Builder
(Header header, WritableFontData data) -
方法概要
修饰符和类型方法说明static EbscTable.Builder
createBuilder
(Header header, WritableFontData data) Create a new builder using the header information and data provided.protected EbscTable
Build a table with the data provided.protected void
Tell the subclass that the data has been changed and any structures must be discarded.protected int
Query if the subclass needs to serialize and how much data is required.protected boolean
protected int
subSerialize
(WritableFontData newData) Serialize the table to the data provided.从类继承的方法 com.google.typography.font.sfntly.table.Table.Builder
getBuilder, header, notifyPostTableBuild, toString
从类继承的方法 com.google.typography.font.sfntly.table.FontDataTable.Builder
build, changed, containedModelChanged, currentModelChanged, data, dataChanged, internalReadData, internalWriteData, modelChanged, readyToBuild, setData, setData, setModelChanged, setModelChanged
-
构造器详细资料
-
Builder
- 参数:
header
-data
-
-
Builder
- 参数:
header
-data
-
-
-
方法详细资料
-
createBuilder
Create a new builder using the header information and data provided.- 参数:
header
- the header informationdata
- the data holding the table- 返回:
- a new builder
-
subBuildTable
从类复制的说明:FontDataTable.Builder
Build a table with the data provided.- 指定者:
subBuildTable
在类中FontDataTable.Builder<EbscTable>
- 参数:
data
- the data to use to build the table- 返回:
- a table
-
subDataSet
protected void subDataSet()从类复制的说明:FontDataTable.Builder
Tell the subclass that the data has been changed and any structures must be discarded.- 指定者:
subDataSet
在类中FontDataTable.Builder<EbscTable>
-
subDataSizeToSerialize
protected int subDataSizeToSerialize()从类复制的说明:FontDataTable.Builder
Query if the subclass needs to serialize and how much data is required.- 指定者:
subDataSizeToSerialize
在类中FontDataTable.Builder<EbscTable>
- 返回:
- positive bytes needed to serialize if a fixed size; and zero or negative bytes as an estimate if growable data is needed
-
subReadyToSerialize
protected boolean subReadyToSerialize()- 指定者:
subReadyToSerialize
在类中FontDataTable.Builder<EbscTable>
- 返回:
- true if the subclass is ready to serialize it's structure into data
-
subSerialize
从类复制的说明:FontDataTable.Builder
Serialize the table to the data provided.- 指定者:
subSerialize
在类中FontDataTable.Builder<EbscTable>
- 参数:
newData
- the data object to serialize to- 返回:
- the number of bytes written
-