Java com.itextpdf.text Phrase fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text Phrase fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text Phrase.

The text is from its open source code.

Subclass

com.itextpdf.text.Phrase has subclasses.
Click this link to see all its subclasses.

Constructor

Phrase(final Phrase phrase)
Copy constructor for Phrase.
Phrase(final float leading)
Constructs a Phrase with a certain leading.
Phrase(final Chunk chunk)
Constructs a Phrase with a certain Chunk.
Phrase(final String string)
Constructs a Phrase with a certain String.
Phrase(final boolean dummy)
Constructs a Phrase that can be used in the static getInstance() method.
Phrase(final float leading, final Chunk chunk)
Constructs a Phrase with a certain Chunk and a certain leading.
Phrase(final String string, final Font font)
Constructs a Phrase with a certain String and a certain Font.
Phrase(final float leading, final String string)
Constructs a Phrase with a certain leading and a certain String.
Phrase()
Constructs a Phrase without specifying a leading.
Phrase(final float leading, final String string, final Font font)
Constructs a Phrase with a certain leading, a certain String and a certain Font.

Method

booleanadd(final String s)
Adds a String to this Phrase.
booleanadd(final Element element)
Adds a Chunk, Anchor or another Phrase to this Phrase.
java.util.ListgetChunks()
Gets all the chunks in this element.
FontgetFont()
Gets the font of the first Chunk that appears in this Phrase.
PhrasegetInstance(final String string)
Gets a special kind of Phrase that changes some characters into corresponding symbols.
PhrasegetInstance(final int leading, String string, final Font font)
Gets a special kind of Phrase that changes some characters into corresponding symbols.
PhrasegetInstance(final int leading, final String string)
Gets a special kind of Phrase that changes some characters into corresponding symbols.
floatgetTotalLeading()
Gets the total leading.
voidsetFont(final Font font)
Sets the main font of this phrase.
voidsetLeading(final float fixedLeading)