com.lowagie.text.factories
public class ElementFactory extends java.lang.Object
Constructor and Description |
---|
ElementFactory() |
Modifier and Type | Method and Description |
---|---|
static Anchor |
getAnchor(java.util.Properties attributes)
Creates an Anchor object based on a list of properties.
|
static Annotation |
getAnnotation(java.util.Properties attributes)
Creates an Annotation object based on a list of properties.
|
static Cell |
getCell(java.util.Properties attributes)
Creates a Cell object based on a list of properties.
|
static ChapterAutoNumber |
getChapter(java.util.Properties attributes)
Creates a ChapterAutoNumber object based on a list of properties.
|
static Chunk |
getChunk(java.util.Properties attributes)
Creates a Chunk object based on a list of properties.
|
static Image |
getImage(java.util.Properties attributes)
Creates an Image object based on a list of properties.
|
static List |
getList(java.util.Properties attributes)
Creates a List object based on a list of properties.
|
static ListItem |
getListItem(java.util.Properties attributes)
Creates a ListItem object based on a list of properties.
|
static Paragraph |
getParagraph(java.util.Properties attributes)
Creates a Paragraph object based on a list of properties.
|
static Phrase |
getPhrase(java.util.Properties attributes)
Creates a Phrase object based on a list of properties.
|
static Section |
getSection(Section parent,
java.util.Properties attributes)
Creates a Section object based on a list of properties.
|
static Table |
getTable(java.util.Properties attributes)
Creates an Table object based on a list of properties.
|
private static void |
setRectangleProperties(Rectangle rect,
java.util.Properties attributes)
Sets some Rectangle properties (for a Cell, Table,...).
|
private static void |
setSectionParameters(Section section,
java.util.Properties attributes)
Helper method to create a Chapter/Section object.
|
public static Chunk getChunk(java.util.Properties attributes)
attributes
- public static Phrase getPhrase(java.util.Properties attributes)
attributes
- public static Anchor getAnchor(java.util.Properties attributes)
attributes
- public static Paragraph getParagraph(java.util.Properties attributes)
attributes
- public static ListItem getListItem(java.util.Properties attributes)
attributes
- public static List getList(java.util.Properties attributes)
attributes
- public static Cell getCell(java.util.Properties attributes)
attributes
- public static Table getTable(java.util.Properties attributes)
attributes
- private static void setRectangleProperties(Rectangle rect, java.util.Properties attributes)
public static ChapterAutoNumber getChapter(java.util.Properties attributes)
attributes
- public static Section getSection(Section parent, java.util.Properties attributes)
attributes
- private static void setSectionParameters(Section section, java.util.Properties attributes)
attributes
- public static Image getImage(java.util.Properties attributes) throws BadElementException, java.net.MalformedURLException, java.io.IOException
attributes
- BadElementException
java.net.MalformedURLException
java.io.IOException
public static Annotation getAnnotation(java.util.Properties attributes)
attributes
-