|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.pageelements.FormattedTextAreaStyle
public class FormattedTextAreaStyle
This class can be used to define a certain style of text to be used with an FormattedTextArea.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Nested Class Summary | |
---|---|
class |
FormattedTextAreaStyle.LineStyle
|
Field Summary | |
---|---|
boolean |
bold
Represents bold text. |
FontStyle |
font
Represents font style. |
boolean |
italic
Represents italic text. |
FormattedTextAreaStyle.LineStyle |
line
Represents line style . |
ParagraphStyle |
paragraph
Represents paragraph style . |
float |
textRise
Represents the rise level for superscript ot subscript. |
boolean |
underline
Represents underline text. |
Constructor Summary | |
---|---|
FormattedTextAreaStyle(FontFamily fontFamily,
float fontSize,
boolean preserveWhiteSpace)
Creates a new instance of FormattedTextAreaStyle class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests equality of styles. |
Font |
getFont()
Returns the Font to use from the FontFamily of the style. |
int |
getHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean bold
public boolean italic
public boolean underline
public ParagraphStyle paragraph
ParagraphStyle
public FontStyle font
public FormattedTextAreaStyle.LineStyle line
FormattedTextAreaStyle.LineStyle
public float textRise
Constructor Detail |
---|
public FormattedTextAreaStyle(FontFamily fontFamily, float fontSize, boolean preserveWhiteSpace)
FormattedTextAreaStyle
class.
fontFamily
- represents Font family of the style.fontSize
- represents size of fontpreserveWhiteSpace
- represents if WhiteSpaces have o be preservedFontFamily
,
FontStyle
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to compare to the current FormattedTextAreaStyle
.
public int getHashCode()
FormattedTextAreaStyle
objectpublic Font getFont()
Font
to use from the FontFamily
of the style.
FontFamily
,
Font
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |