|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.server.api.nls.NLSEntry
jet.server.api.nls.FontNLSEntry
public class FontNLSEntry
The FontNLSEntry is one of NLSEntry, it was used to transform Font while exporting report to file. A FontNLSEntry has five properties, original font name, original font size, target font name, target font size and relativity. The original font name and original font size specified an original font. The target font name and target font size specified a target font. When the running of a task is finished, the result of task will be exported to a file. During the exporting process, all the fonts in result, which were same with the original font--their font name and font size are same would be translated into target font. The relativity of a FontNLSEntry indicates whether the font is relative.
GlobalNSLLibrary,
NLSEntry,
TextNLSEntry,
Serialized Form| Constructor Summary | |
|---|---|
FontNLSEntry(java.lang.String orginalFace,
int orginalSize)
The construct method of FontNLSEntry. |
|
FontNLSEntry(java.lang.String orginalFace,
int orginalSize,
java.lang.String targetFace,
int targetSize,
boolean relative)
The construct method of FontNLSEntry. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
The equals method of FontNLSEntry. |
java.lang.String |
getOrginalFace()
Gets the original Face of FontNLSEntry. |
int |
getOrginalSize()
Gets the original size of FontNLSEntry. |
java.lang.String |
getTargetFace()
Gets the target face of FontNLSEntry. |
int |
getTargetSize()
Gets the target size of FontNLSEntry. |
int |
hashCode()
The hashCode method of FontNLSEntry. |
boolean |
isRelative()
Tests whether the FontNLSEntry is relative. |
void |
setOrginalFace(java.lang.String orginalFace)
Sets the original Face of FontNLSEntry. |
void |
setOrginalSize(int orginalSize)
Sets the original size of FontNLSEntry. |
void |
setRelative(boolean relative)
Sets the relative of FontNLSEntry. |
void |
setTargetFace(java.lang.String targetFace)
Sets the target face of FontNLSEntry. |
void |
setTargetSize(int targetSize)
Sets the target size of FontNLSEntry. |
java.lang.String |
toString()
The toString method of FontNLSEntry. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FontNLSEntry(java.lang.String orginalFace,
int orginalSize)
A - string, which is the orginalFace of FontNLSEntry.A - string, which is the orginalSize of FontNLSEntry.
public FontNLSEntry(java.lang.String orginalFace,
int orginalSize,
java.lang.String targetFace,
int targetSize,
boolean relative)
A - string, which is the orginalFace of FontNLSEntry.An - int, which is the orginalSize of FontNLSEntry.A - string, which is the targetFace of FontNLSEntry.An - int, which is the targetSize of FontNLSEntry.A - boolean, which indicates whether the font is relative.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getOrginalFace()
public void setOrginalFace(java.lang.String orginalFace)
A - string, which is the original Face of FontNLSEntry.public int getOrginalSize()
public void setOrginalSize(int orginalSize)
An - int value, which is the original size of FontNLSEntry.public java.lang.String getTargetFace()
public void setTargetFace(java.lang.String targetFace)
A - string, which is the target face of FontNLSEntry.public int getTargetSize()
public void setTargetSize(int targetSize)
An - int value, which is the target size of FontNLSEntry.public boolean isRelative()
public void setRelative(boolean relative)
relative -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||