|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.pageelements.ParagraphStyle
public class ParagraphStyle
Represents type of paragraphing possible.
| Field Summary | |
|---|---|
TextAlign |
align
Represents the alignment of a paragraph. |
boolean |
allowOrphanLines
Represents if paragraphs should be allowed to break leaving one line on a page. |
float |
indent
Represents the indention of the first line of a paragraph. |
float |
leftIndent
Represents the left indentation of a paragraph. |
boolean |
preserveWhiteSpace
Represents if a white space should be preserved. |
float |
rightIndent
Represents the right indentation of a paragraph. |
float |
spacingAfter
Represents the spacing after a paragraph. |
float |
spacingBefore
Represents the spacing before a paragraph. |
| Constructor Summary | |
|---|---|
ParagraphStyle(float spacingBefore,
float spacingAfter,
float indent,
float leftIndent,
float rightIndent,
TextAlign align,
boolean allowOrphanLines,
boolean preserveWhiteSpace)
Creates a new instance of ParagraphStyle |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests equality of paragraph styles,return true if the two paragraph styles are equal. |
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 float spacingBefore
public float spacingAfter
public float indent
public float leftIndent
public float rightIndent
public TextAlign align
TextAlignpublic boolean allowOrphanLines
public boolean preserveWhiteSpace
| Constructor Detail |
|---|
public ParagraphStyle(float spacingBefore,
float spacingAfter,
float indent,
float leftIndent,
float rightIndent,
TextAlign align,
boolean allowOrphanLines,
boolean preserveWhiteSpace)
ParagraphStyle
spacingBefore - Represents the spacing before a paragraph.spacingAfter - Represents the spacing after a paragraph.indent - Represents the indention of the first line of a paragraph.leftIndent - Represents the left indentation of a paragraph.rightIndent - Represents the right indentation of a paragraph.align - Represents the alignment of a paragraph.allowOrphanLines - Represents if paragraphs should be allowed to break leaving one line on a page.preserveWhiteSpace - Represents if a white space should be preserved.TextAlign| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - represents java object.
public int getHashCode()
|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||