|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.elementfactory.ElementFactory
The class element factory is the base class for all Element Factories. Element factories can be used to create predefined element types. The properties allow null values, if a property is null, it will not be defined. Undefined properties can inherit their values from the element's parent bands.
Constructor Summary | |
ElementFactory()
Default Constructor. |
Method Summary | |
protected void |
applyElementName(Element e)
Applies the defined name to the created element. |
protected void |
applyStyle(ElementStyleSheet style)
Applies the style definition to the elements stylesheet. |
abstract Element |
createElement()
Creates a new instance of the element. |
java.awt.geom.Point2D |
getAbsolutePosition()
Returns the element's absolute position. |
java.lang.Boolean |
getDynamicHeight()
Defines whether the element's height should be adjusted automaticly. |
java.awt.geom.Dimension2D |
getMaximumSize()
Returns the element's maximum size. |
java.awt.geom.Dimension2D |
getMinimumSize()
Returns the element's minimum size. |
java.lang.String |
getName()
Returns the name of the new element. |
java.awt.geom.Dimension2D |
getPreferredSize()
Returns the element's preferred size. |
void |
setAbsolutePosition(java.awt.geom.Point2D absolutePosition)
Returns the element's absolute position. |
void |
setDynamicHeight(java.lang.Boolean dynamicHeight)
Defines the state of the element's dynamic content height feature. |
void |
setMaximumSize(java.awt.geom.Dimension2D maximumSize)
Defines the element's maximum size. |
void |
setMinimumSize(java.awt.geom.Dimension2D minimumSize)
Defines the element's minimum size. |
void |
setName(java.lang.String name)
Defines the name of the element. |
void |
setPreferredSize(java.awt.geom.Dimension2D preferredSize)
Returns the element's preferred size. |
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 java.lang.String getName()
public void setName(java.lang.String name)
name
- the element name.public java.awt.geom.Dimension2D getMinimumSize()
public void setMinimumSize(java.awt.geom.Dimension2D minimumSize)
minimumSize
- the element's minimum size.public java.awt.geom.Dimension2D getMaximumSize()
public void setMaximumSize(java.awt.geom.Dimension2D maximumSize)
maximumSize
- the element's maximum size.public java.awt.geom.Dimension2D getPreferredSize()
public void setPreferredSize(java.awt.geom.Dimension2D preferredSize)
preferredSize
- the element's preferred size.public java.awt.geom.Point2D getAbsolutePosition()
public void setAbsolutePosition(java.awt.geom.Point2D absolutePosition)
absolutePosition
- the element's absolute position.public java.lang.Boolean getDynamicHeight()
public void setDynamicHeight(java.lang.Boolean dynamicHeight)
dynamicHeight
- the new value of the elements dynamic height feature.protected void applyElementName(Element e)
e
- the element which was created.protected void applyStyle(ElementStyleSheet style)
style
- the element stylesheet which should receive the style definition.public abstract Element createElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |