|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.DocumentFont
public class DocumentFont
Name: DocumentFont
Description: A class holding font informations.
Constructor Summary | |
---|---|
DocumentFont(com.lowagie.text.Font font,
String family,
String encoding,
float size,
int style,
Color color)
Constructs a DocumentFont instance with specific attributes. |
|
DocumentFont(com.lowagie.text.Font font,
String family,
String encoding,
float size,
int style,
float textRise,
Color color)
Constructs a DocumentFont instance with specific attributes. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Color |
getColor()
Getter method for the the property color. |
String |
getEncoding()
Getter method for the the property encoding. |
String |
getFamily()
Getter method for the the property family. |
com.lowagie.text.Font |
getFont()
Getter method for the the property font. |
float |
getSize()
Getter method for the the property size. |
int |
getStyle()
Getter method for the the property style. |
float |
getTextRise()
Getter method for the the property textRise. |
int |
hashCode()
|
boolean |
isBold()
Checks if the font is declared as bold. |
boolean |
isItalic()
Checks if the font is declared as italic. |
boolean |
isStrikethru()
Checks if the font is declared as strikethru. |
boolean |
isUnderline()
Checks if the font is declared as underline. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentFont(com.lowagie.text.Font font, String family, String encoding, float size, int style, Color color)
font
- The font itself.family
- The font family.encoding
- The font encoding.size
- The font size.style
- The font style.color
- The font color.public DocumentFont(com.lowagie.text.Font font, String family, String encoding, float size, int style, float textRise, Color color)
font
- The font itself.family
- The font family.encoding
- The font encoding.size
- The font size.style
- The font style.textRise
- The text displacement relative to the baseline.
Positive values rise the text, negative values lower the text.color
- The font color.Method Detail |
---|
public Color getColor()
public String getFamily()
public String getEncoding()
public com.lowagie.text.Font getFont()
public float getSize()
public int getStyle()
public float getTextRise()
public boolean isBold()
public boolean isItalic()
public boolean isUnderline()
public boolean isStrikethru()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |