Java Doc for ImageFieldElementFactory.java in  » Report » pentaho-report » org » jfree » report » elementfactory » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.jfree.report.elementfactory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.report.elementfactory.ElementFactory
      org.jfree.report.elementfactory.ImageElementFactory
         org.jfree.report.elementfactory.ImageFieldElementFactory

ImageFieldElementFactory
public class ImageFieldElementFactory extends ImageElementFactory (Code)
A factory to define ImageFieldElements. These elements expect an java.awt.Image or an ImageReference instance as content and will display the content in the report.
author:
   Thomas Morgner



Constructor Summary
public  ImageFieldElementFactory()
     DefaultConstructor.

Method Summary
public  ElementcreateElement()
     Creates the image element based on the defined properties.
public static  ImageElementcreateImageDataRowElement(String name, Rectangle2D bounds, String field)
     Creates a new ImageElement.
Parameters:
  name - the name of the new element
Parameters:
  bounds - the bounds of the new element
Parameters:
  field - the name of the column/function/expression that returns the URL for the image.
public static  ImageElementcreateImageDataRowElement(String name, Rectangle2D bounds, String field, boolean scale)
     Creates a new ImageElement.
public static  ImageElementcreateImageDataRowElement(String name, Rectangle2D bounds, String field, boolean scale, boolean keepAspectRatio)
     Creates a new ImageElement.
public  StringgetFieldname()
     Returns the field name from where to read the content of the element.
public  StringgetFormula()
     Returns the formula that should be used to compute the value of the field.
public  voidsetFieldname(String fieldname)
     Defines the field name from where to read the content of the element.
public  voidsetFormula(String formula)
     Assigns a formula to the element to compute the value for this element.


Constructor Detail
ImageFieldElementFactory
public ImageFieldElementFactory()(Code)
DefaultConstructor.




Method Detail
createElement
public Element createElement()(Code)
Creates the image element based on the defined properties. the created image element.
throws:
  IllegalStateException - if the fieldname is not set.
See Also:   ElementFactory.createElement



createImageDataRowElement
public static ImageElement createImageDataRowElement(String name, Rectangle2D bounds, String field)(Code)
Creates a new ImageElement.
Parameters:
  name - the name of the new element
Parameters:
  bounds - the bounds of the new element
Parameters:
  field - the name of the column/function/expression that returns the URL for the image. a report element for displaying an image.
throws:
  NullPointerException - if bounds, name or source are null
throws:
  IllegalArgumentException - if the given alignment is invalid



createImageDataRowElement
public static ImageElement createImageDataRowElement(String name, Rectangle2D bounds, String field, boolean scale)(Code)
Creates a new ImageElement.
Parameters:
  name - the name of the new element.
Parameters:
  bounds - the bounds of the new element.
Parameters:
  field - the name of the column/function/expression that returns the URL for the image.
Parameters:
  scale - scale the image? a report element for displaying an image.
throws:
  NullPointerException - if bounds, name or source are null
throws:
  IllegalArgumentException - if the given alignment is invalid



createImageDataRowElement
public static ImageElement createImageDataRowElement(String name, Rectangle2D bounds, String field, boolean scale, boolean keepAspectRatio)(Code)
Creates a new ImageElement.
Parameters:
  name - the name of the new element.
Parameters:
  bounds - the bounds of the new element.
Parameters:
  field - the name of the column/function/expression that returns the URL for the image.
Parameters:
  scale - scale the image?
Parameters:
  keepAspectRatio - preserve the aspect ratio? a report element for displaying an image.
throws:
  NullPointerException - if bounds, name or source are null
throws:
  IllegalArgumentException - if the given alignment is invalid



getFieldname
public String getFieldname()(Code)
Returns the field name from where to read the content of the element. the field name.



getFormula
public String getFormula()(Code)
Returns the formula that should be used to compute the value of the field. The formula must be valid according to the OpenFormula specifications. the formula as string.



setFieldname
public void setFieldname(String fieldname)(Code)
Defines the field name from where to read the content of the element. The field name is the name of a datarow column.
Parameters:
  fieldname - the field name.



setFormula
public void setFormula(String formula)(Code)
Assigns a formula to the element to compute the value for this element. If a formula is defined, it will override the 'field' property.
Parameters:
  formula - the formula as a string.



Methods inherited from org.jfree.report.elementfactory.ImageElementFactory
protected void applyStyle(ElementStyleSheet style)(Code)(Java Doc)
public Boolean getKeepAspectRatio()(Code)(Java Doc)
public Boolean getScale()(Code)(Java Doc)
public void setKeepAspectRatio(Boolean keepAspectRatio)(Code)(Java Doc)
public void setScale(Boolean scale)(Code)(Java Doc)

Methods inherited from org.jfree.report.elementfactory.ElementFactory
protected void applyElementName(Element e)(Code)(Java Doc)
protected void applyStyle(ElementStyleSheet style)(Code)(Java Doc)
abstract public Element createElement()(Code)(Java Doc)
public Point2D getAbsolutePosition()(Code)(Java Doc)
public Boolean getAvoidPagebreaks()(Code)(Java Doc)
public Color getBackgroundColor()(Code)(Java Doc)
protected static Boolean getBooleanValue(boolean b)(Code)(Java Doc)
public Color getBorderBottomColor()(Code)(Java Doc)
public Dimension2D getBorderBottomLeftRadius()(Code)(Java Doc)
public Float getBorderBottomLeftRadiusHeight()(Code)(Java Doc)
public Float getBorderBottomLeftRadiusWidth()(Code)(Java Doc)
public Dimension2D getBorderBottomRightRadius()(Code)(Java Doc)
public Float getBorderBottomRightRadiusHeight()(Code)(Java Doc)
public Float getBorderBottomRightRadiusWidth()(Code)(Java Doc)
public BorderStyle getBorderBottomStyle()(Code)(Java Doc)
public Float getBorderBottomWidth()(Code)(Java Doc)
public Color getBorderBreakColor()(Code)(Java Doc)
public BorderStyle getBorderBreakStyle()(Code)(Java Doc)
public Float getBorderBreakWidth()(Code)(Java Doc)
public Color getBorderColor()(Code)(Java Doc)
public Color getBorderLeftColor()(Code)(Java Doc)
public BorderStyle getBorderLeftStyle()(Code)(Java Doc)
public Float getBorderLeftWidth()(Code)(Java Doc)
public Dimension2D getBorderRadius()(Code)(Java Doc)
public Float getBorderRadiusHeight()(Code)(Java Doc)
public Float getBorderRadiusWidth()(Code)(Java Doc)
public Color getBorderRightColor()(Code)(Java Doc)
public BorderStyle getBorderRightStyle()(Code)(Java Doc)
public Float getBorderRightWidth()(Code)(Java Doc)
public BorderStyle getBorderStyle()(Code)(Java Doc)
public Color getBorderTopColor()(Code)(Java Doc)
public Dimension2D getBorderTopLeftRadius()(Code)(Java Doc)
public Float getBorderTopLeftRadiusHeight()(Code)(Java Doc)
public Float getBorderTopLeftRadiusWidth()(Code)(Java Doc)
public Dimension2D getBorderTopRightRadius()(Code)(Java Doc)
public Float getBorderTopRightRadiusHeight()(Code)(Java Doc)
public Float getBorderTopRightRadiusWidth()(Code)(Java Doc)
public BorderStyle getBorderTopStyle()(Code)(Java Doc)
public Float getBorderTopWidth()(Code)(Java Doc)
public Float getBorderWidth()(Code)(Java Doc)
public Color getColor()(Code)(Java Doc)
public Boolean getDynamicHeight()(Code)(Java Doc)
public FontSmooth getFontSmooth()(Code)(Java Doc)
public String getHRefTarget()(Code)(Java Doc)
public String getHRefTitle()(Code)(Java Doc)
public String getHRefWindow()(Code)(Java Doc)
public Float getHeight()(Code)(Java Doc)
public ElementAlignment getHorizontalAlignment()(Code)(Java Doc)
public Boolean getLayoutCachable()(Code)(Java Doc)
public Float getMaximumHeight()(Code)(Java Doc)
public Dimension2D getMaximumSize()(Code)(Java Doc)
public Float getMaximumWidth()(Code)(Java Doc)
public Float getMinimumHeight()(Code)(Java Doc)
public Dimension2D getMinimumSize()(Code)(Java Doc)
public Float getMinimumWidth()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Integer getOrphans()(Code)(Java Doc)
public Boolean getOverflowX()(Code)(Java Doc)
public Boolean getOverflowY()(Code)(Java Doc)
public Float getPadding()(Code)(Java Doc)
public Float getPaddingBottom()(Code)(Java Doc)
public Float getPaddingLeft()(Code)(Java Doc)
public Float getPaddingRight()(Code)(Java Doc)
public Float getPaddingTop()(Code)(Java Doc)
public Dimension2D getPreferredSize()(Code)(Java Doc)
public ElementAlignment getVerticalAlignment()(Code)(Java Doc)
public Boolean getVisible()(Code)(Java Doc)
public Integer getWidows()(Code)(Java Doc)
public Float getWidth()(Code)(Java Doc)
public Float getX()(Code)(Java Doc)
public Float getY()(Code)(Java Doc)
public void setAbsolutePosition(Point2D absolutePosition)(Code)(Java Doc)
public void setAvoidPagebreaks(Boolean avoidPagebreaks)(Code)(Java Doc)
public void setBackgroundColor(Color backgroundColor)(Code)(Java Doc)
public void setBorderBottomColor(Color borderBottomColor)(Code)(Java Doc)
public void setBorderBottomLeftRadius(Dimension2D borderRadius)(Code)(Java Doc)
public void setBorderBottomLeftRadiusHeight(Float borderBottomLeftRadiusHeight)(Code)(Java Doc)
public void setBorderBottomLeftRadiusWidth(Float borderBottomLeftRadiusWidth)(Code)(Java Doc)
public void setBorderBottomRightRadius(Dimension2D borderRadius)(Code)(Java Doc)
public void setBorderBottomRightRadiusHeight(Float borderBottomRightRadiusHeight)(Code)(Java Doc)
public void setBorderBottomRightRadiusWidth(Float borderBottomRightRadiusWidth)(Code)(Java Doc)
public void setBorderBottomStyle(BorderStyle borderBottomStyle)(Code)(Java Doc)
public void setBorderBottomWidth(Float borderBottomWidth)(Code)(Java Doc)
public void setBorderBreakColor(Color borderBreakColor)(Code)(Java Doc)
public void setBorderBreakStyle(BorderStyle borderBreakStyle)(Code)(Java Doc)
public void setBorderBreakWidth(Float borderBreakWidth)(Code)(Java Doc)
public void setBorderColor(Color borderColor)(Code)(Java Doc)
public void setBorderLeftColor(Color borderLeftColor)(Code)(Java Doc)
public void setBorderLeftStyle(BorderStyle borderLeftStyle)(Code)(Java Doc)
public void setBorderLeftWidth(Float borderLeftWidth)(Code)(Java Doc)
public void setBorderRadius(Dimension2D borderRadius)(Code)(Java Doc)
public void setBorderRadiusHeight(Float borderRadiusHeight)(Code)(Java Doc)
public void setBorderRadiusWidth(Float borderRadiusWidth)(Code)(Java Doc)
public void setBorderRightColor(Color borderRightColor)(Code)(Java Doc)
public void setBorderRightStyle(BorderStyle borderRightStyle)(Code)(Java Doc)
public void setBorderRightWidth(Float borderRightWidth)(Code)(Java Doc)
public void setBorderStyle(BorderStyle borderStyle)(Code)(Java Doc)
public void setBorderTopColor(Color borderTopColor)(Code)(Java Doc)
public void setBorderTopLeftRadius(Dimension2D borderRadius)(Code)(Java Doc)
public void setBorderTopLeftRadiusHeight(Float borderTopLeftRadiusHeight)(Code)(Java Doc)
public void setBorderTopLeftRadiusWidth(Float borderTopLeftRadiusWidth)(Code)(Java Doc)
public void setBorderTopRightRadius(Dimension2D borderRadius)(Code)(Java Doc)
public void setBorderTopRightRadiusHeight(Float borderTopRightRadiusHeight)(Code)(Java Doc)
public void setBorderTopRightRadiusWidth(Float borderTopRightRadiusWidth)(Code)(Java Doc)
public void setBorderTopStyle(BorderStyle borderTopStyle)(Code)(Java Doc)
public void setBorderTopWidth(Float borderTopWidth)(Code)(Java Doc)
public void setBorderWidth(Float borderWidth)(Code)(Java Doc)
public void setColor(Color color)(Code)(Java Doc)
public void setDynamicHeight(Boolean dynamicHeight)(Code)(Java Doc)
public void setFontSmooth(FontSmooth fontSmooth)(Code)(Java Doc)
public void setHRefTarget(String hRefTarget)(Code)(Java Doc)
public void setHRefTitle(String hRefTitle)(Code)(Java Doc)
public void setHRefWindow(String hRefWindow)(Code)(Java Doc)
public void setHeight(Float height)(Code)(Java Doc)
public void setHorizontalAlignment(ElementAlignment horizontalAlignment)(Code)(Java Doc)
public void setLayoutCachable(Boolean layoutCachable)(Code)(Java Doc)
public void setMaximumHeight(Float maximumHeight)(Code)(Java Doc)
public void setMaximumSize(Dimension2D maximumSize)(Code)(Java Doc)
public void setMaximumWidth(Float maximumWidth)(Code)(Java Doc)
public void setMinimumHeight(Float minimumHeight)(Code)(Java Doc)
public void setMinimumSize(Dimension2D minimumSize)(Code)(Java Doc)
public void setMinimumWidth(Float minimumWidth)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setOrphans(Integer orphans)(Code)(Java Doc)
public void setOverflowX(Boolean overflowX)(Code)(Java Doc)
public void setOverflowY(Boolean overflowY)(Code)(Java Doc)
public void setPadding(Float padding)(Code)(Java Doc)
public void setPaddingBottom(Float paddingBottom)(Code)(Java Doc)
public void setPaddingLeft(Float paddingLeft)(Code)(Java Doc)
public void setPaddingRight(Float paddingRight)(Code)(Java Doc)
public void setPaddingTop(Float paddingTop)(Code)(Java Doc)
public void setPreferredSize(Dimension2D preferredSize)(Code)(Java Doc)
public void setVerticalAlignment(ElementAlignment verticalAlignment)(Code)(Java Doc)
public void setVisible(Boolean visible)(Code)(Java Doc)
public void setWidows(Integer widows)(Code)(Java Doc)
public void setWidth(Float width)(Code)(Java Doc)
public void setX(Float x)(Code)(Java Doc)
public void setY(Float y)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.