|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.font.ttf.TrueTypeTable
com.sun.pdfview.font.ttf.HheaTable
public class HheaTable
Field Summary |
---|
Fields inherited from class com.sun.pdfview.font.ttf.TrueTypeTable |
---|
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE |
Constructor Summary | |
---|---|
protected |
HheaTable()
Creates a new instance of HeadTable Makes up reasonable(?) defaults for all values |
Method Summary | |
---|---|
short |
getAdvanceWidthMax()
Getter for property advanceWidthMax. |
short |
getAscent()
Getter for property ascent. |
short |
getCaretOffset()
Getter for property caretOffset. |
short |
getCaretSlopeRise()
Getter for property caretSlopeRise. |
short |
getCaretSlopeRun()
Getter for property caretSlopeRun. |
java.nio.ByteBuffer |
getData()
Get the data we have stored |
short |
getDescent()
Getter for property descent. |
int |
getLength()
Get the length of this table |
short |
getLineGap()
Getter for property lineGap. |
short |
getMetricDataFormat()
Getter for property metricDataFormat. |
short |
getMinLeftSideBearing()
Getter for property minLeftSideBearing. |
short |
getMinRightSideBearing()
Getter for property minRIghtSideBearing. |
int |
getNumOfLongHorMetrics()
Getter for property numOfLongHorMetrics. |
int |
getVersion()
Getter for property version. |
short |
getXMaxExtent()
Getter for property xMaxExtent. |
void |
setAdvanceWidthMax(short advanceWidthMax)
Setter for property advanceWidthMax. |
void |
setAscent(short ascent)
Setter for property ascent. |
void |
setCaretOffset(short caretOffset)
Setter for property caretOffset. |
void |
setCaretSlopeRise(short caretSlopeRise)
Setter for property caretSlopeRise. |
void |
setCaretSlopeRun(short caretSlopeRun)
Setter for property caretSlopeRun. |
void |
setData(java.nio.ByteBuffer data)
Parse the data before it is set |
void |
setDescent(short descent)
Setter for property descent. |
void |
setLineGap(short lineGap)
Setter for property lineGap. |
void |
setMetricDataFormat(short metricDataFormat)
Setter for property metricDataFormat. |
void |
setMinLeftSideBearing(short minLeftSideBearing)
Setter for property minLeftSideBearing. |
void |
setMinRightSideBearing(short minRightSideBearing)
Setter for property minRIghtSideBearing. |
void |
setNumOfLongHorMetrics(short numOfLongHorMetrics)
Setter for property numOfLongHorMetrics. |
void |
setVersion(int version)
Setter for property version. |
void |
setXMaxExtent(short xMaxExtent)
Setter for property xMaxExtent. |
java.lang.String |
toString()
Create a pretty string |
Methods inherited from class com.sun.pdfview.font.ttf.TrueTypeTable |
---|
createTable, createTable, getTag, stringToTag, tagToString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected HheaTable()
Method Detail |
---|
public void setData(java.nio.ByteBuffer data)
setData
in class TrueTypeTable
public java.nio.ByteBuffer getData()
getData
in class TrueTypeTable
public int getLength()
getLength
in class TrueTypeTable
public int getVersion()
public void setVersion(int version)
version
- New value of property version.public java.lang.String toString()
toString
in class TrueTypeTable
public short getAscent()
public void setAscent(short ascent)
ascent
- New value of property ascent.public short getDescent()
public void setDescent(short descent)
descent
- New value of property descent.public short getLineGap()
public void setLineGap(short lineGap)
lineGap
- New value of property lineGap.public short getAdvanceWidthMax()
public void setAdvanceWidthMax(short advanceWidthMax)
advanceWidthMax
- New value of property advanceWidthMax.public short getMinLeftSideBearing()
public void setMinLeftSideBearing(short minLeftSideBearing)
minLeftSideBearing
- New value of property minLeftSideBearing.public short getMinRightSideBearing()
public void setMinRightSideBearing(short minRightSideBearing)
minRightSideBearing
- New value of property minRIghtSideBearing.public short getXMaxExtent()
public void setXMaxExtent(short xMaxExtent)
xMaxExtent
- New value of property xMaxExtent.public short getCaretSlopeRise()
public void setCaretSlopeRise(short caretSlopeRise)
caretSlopeRise
- New value of property caretSlopeRise.public short getCaretSlopeRun()
public void setCaretSlopeRun(short caretSlopeRun)
caretSlopeRun
- New value of property caretSlopeRun.public short getCaretOffset()
public void setCaretOffset(short caretOffset)
caretOffset
- New value of property caretOffset.public short getMetricDataFormat()
public void setMetricDataFormat(short metricDataFormat)
metricDataFormat
- New value of property metricDataFormat.public int getNumOfLongHorMetrics()
public void setNumOfLongHorMetrics(short numOfLongHorMetrics)
numOfLongHorMetrics
- New value of property numOfLongHorMetrics.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |