Java com.lowagie.text Chunk fields, constructors, methods, implement or subclass

Example usage for Java com.lowagie.text Chunk fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Subclass

com.lowagie.text.Chunk has subclasses.
Click this link to see all its subclasses.

Field

ChunkNEWLINE
This is a Chunk containing a newline.
ChunkNEXTPAGE
This is a Chunk containing a newpage.
Fontfont
This is the Font of this chunk of text.
StringLOCALDESTINATION
Key for local destination.

Constructor

Chunk(Chunk ck)
A Chunk copy constructor.
Chunk(String content)
Constructs a chunk of text with a certain content, without specifying a Font.
Chunk(char c)
Constructs a chunk of text with a char, without specifying a Font .
Chunk(DrawInterface separator)
Creates a separator Chunk.
Chunk(String content, Font font)
Constructs a chunk of text with a certain content and a certain Font.
Chunk(char c, Font font)
Constructs a chunk of text with a char and a certain Font.
Chunk(DrawInterface separator, boolean vertical)
Creates a separator Chunk.
Chunk(DrawInterface separator, float tabPosition)
Creates a tab Chunk.
Chunk(Image image, float offsetX, float offsetY)
Constructs a chunk containing an Image.
Chunk(DrawInterface separator, float tabPosition, boolean newline)
Creates a tab Chunk.
Chunk()
Empty constructor.
Chunk(Image image, float offsetX, float offsetY, boolean changeLeading)
Constructs a chunk containing an Image.

Method

StringBufferappend(String string)
appends some text to this Chunk.
HashMapgetAttributes()
Gets the attributes for this Chunk.
StringgetContent()
Returns the content of this Chunk.
FontgetFont()
Gets the font of this Chunk.
ImagegetImage()
Returns the image.
floatgetTextRise()
Gets the text displacement relative to the baseline.
floatgetWidthPoint()
Gets the width of the Chunk in points.
booleanhasAttributes()
Checks the attributes of this Chunk.
booleanisEmpty()
Checks is this Chunk is empty.
ChunksetAction(PdfAction action)
Sets an action for this Chunk.
ChunksetAnchor(URL url)
Sets an anchor for this Chunk.
ChunksetAnchor(String url)
Sets an anchor for this Chunk.
ChunksetBackground(Color color)
Sets the color of the background Chunk.
ChunksetBackground(Color color, float extraLeft, float extraBottom, float extraRight, float extraTop)
Sets the color and the size of the background Chunk.
voidsetFont(Font font)
Sets the font of this Chunk.
ChunksetGenericTag(String text)
Sets the generic tag Chunk.
ChunksetHyphenation(HyphenationEvent hyphenation)
sets the hyphenation engine to this Chunk.
ChunksetLocalDestination(String name)
Sets a local destination for this Chunk.
ChunksetLocalGoto(String name)
Sets a local goto for this Chunk.
ChunksetNewPage()
Sets a new page tag..
ChunksetRemoteGoto(String filename, String name)
Sets a goto for a remote destination for this Chunk.
ChunksetRemoteGoto(String filename, int page)
Sets a goto for a remote destination for this Chunk.
ChunksetSplitCharacter(SplitCharacter splitCharacter)
Sets the split characters.
ChunksetTextRise(float rise)
Sets the text displacement relative to the baseline.
ChunksetUnderline(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int cap)
Sets an horizontal line that can be an underline or a strikethrough.
ChunksetUnderline(float thickness, float yPosition)
Sets an horizontal line that can be an underline or a strikethrough.