|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.factories.ElementFactory
public class ElementFactory
This class is able to create Element objects based on a list of properties.
Constructor Summary | |
---|---|
ElementFactory()
|
Method Summary | |
---|---|
static Anchor |
getAnchor(Properties attributes)
Creates an Anchor object based on a list of properties. |
static Annotation |
getAnnotation(Properties attributes)
Creates an Annotation object based on a list of properties. |
static Cell |
getCell(Properties attributes)
Creates a Cell object based on a list of properties. |
static ChapterAutoNumber |
getChapter(Properties attributes)
Creates a ChapterAutoNumber object based on a list of properties. |
static Chunk |
getChunk(Properties attributes)
Creates a Chunk object based on a list of properties. |
static Image |
getImage(Properties attributes)
Creates an Image object based on a list of properties. |
static List |
getList(Properties attributes)
Creates a List object based on a list of properties. |
static ListItem |
getListItem(Properties attributes)
Creates a ListItem object based on a list of properties. |
static Paragraph |
getParagraph(Properties attributes)
Creates a Paragraph object based on a list of properties. |
static Phrase |
getPhrase(Properties attributes)
Creates a Phrase object based on a list of properties. |
static Section |
getSection(Section parent,
Properties attributes)
Creates a Section object based on a list of properties. |
static Table |
getTable(Properties attributes)
Creates an Table object based on a list of properties. |
private static void |
setRectangleProperties(Rectangle rect,
Properties attributes)
Sets some Rectangle properties (for a Cell, Table,...). |
private static void |
setSectionParameters(Section section,
Properties attributes)
Helper method to create a Chapter/Section object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementFactory()
Method Detail |
---|
public static Chunk getChunk(Properties attributes)
attributes
-
public static Phrase getPhrase(Properties attributes)
attributes
-
public static Anchor getAnchor(Properties attributes)
attributes
-
public static Paragraph getParagraph(Properties attributes)
attributes
-
public static ListItem getListItem(Properties attributes)
attributes
-
public static List getList(Properties attributes)
attributes
-
public static Cell getCell(Properties attributes)
attributes
-
public static Table getTable(Properties attributes)
attributes
-
private static void setRectangleProperties(Rectangle rect, Properties attributes)
public static ChapterAutoNumber getChapter(Properties attributes)
attributes
-
public static Section getSection(Section parent, Properties attributes)
attributes
-
private static void setSectionParameters(Section section, Properties attributes)
attributes
- public static Image getImage(Properties attributes) throws BadElementException, MalformedURLException, IOException
attributes
-
BadElementException
MalformedURLException
IOException
public static Annotation getAnnotation(Properties attributes)
attributes
-
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |