Java Doc for Element.java in  » Report » pentaho-report » org » jfree » report » structure » 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.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.report.structure.Node
      org.jfree.report.structure.Element

All known Subclasses:   org.jfree.report.structure.ContentElement,  org.jfree.report.structure.Section,  org.jfree.report.modules.misc.autotable.AutoTableElement,  org.jfree.report.modules.misc.autotable.AutoTableCellContent,
Element
abstract public class Element extends Node (Code)
An element is a node that can have attributes. The 'id' and the 'name' attribute is defined for all elements.

Both the name and the id attribute may be null.

Properties in the 'http://jfreereport.sourceforge.net/namespaces/engine/flow' namespace and in the 'http://jfreereport.sourceforge.net/namespaces/engine/compatibility' namespace are considered internal. You should only touch them, if you really know what you are doing.
author:
   Thomas Morgner



Field Summary
final public static  StringID_ATTRIBUTE
    
final public static  StringNAMESPACE_ATTRIBUTE
     See XML-Namespaces for the idea of that one ...
final public static  StringNAME_ATTRIBUTE
    
final public static  StringTYPE_ATTRIBUTE
     The type corresponds (somewhat) to the tagname of HTML.
final public static  StringVIRTUAL_ATTRIBUTE
    

Constructor Summary
protected  Element()
     Constructs an element.

The element inherits the element's defined default ElementStyleSheet to provide reasonable default values for common stylekeys.


Method Summary
public  voidaddExpression(Expression function)
     Adds a function to the report's collection of expressions.
public  Objectclone()
    
public  ObjectgetAttribute(String name)
    
public  ObjectgetAttribute(String namespace, String name)
    
public  ExpressiongetAttributeExpression(String attr)
     Returns the expressions for the report.
public  ExpressiongetAttributeExpression(String namespace, String attr)
    
public  AttributeMapgetAttributeExpressionMap()
    
public  MapgetAttributeExpressions(String namespace)
    
public  AttributeMapgetAttributeMap()
    
public  String[]getAttributeNameSpaces()
    
public  MapgetAttributes(String namespace)
    
public  ExpressiongetDisplayCondition()
    
public  Expression[]getExpressions()
     Returns the expressions for the report.
public  StringgetId()
    
public  LocalegetLocale()
    
protected  LocalegetLocaleFromAttributes()
    
public  StringgetName()
     Returns the name of the Element.
public  StringgetNamespace()
    
public  CSSStyleRulegetStyle()
     Returns this elements private stylesheet.
public  ExpressiongetStyleExpression(String property)
     Returns the expressions for the report.
public  MapgetStyleExpressions()
    
public  StringgetType()
    
public  CSSConstantgetVisibility()
    
public  booleanisEnabled()
     Returns true, if the element is enabled.
public  booleanisVirtual()
    
public  voidsetAttribute(String name, Object value)
    
public  voidsetAttribute(String namespace, String name, Object value)
    
public  voidsetAttributeExpression(String attr, Expression function)
    
public  voidsetAttributeExpression(String namespace, String attr, Expression function)
     Adds a function to the report's collection of expressions.
public  voidsetDisplayCondition(Expression displayCondition)
    
public  voidsetEnabled(boolean enabled)
     Defines whether the element is enabled.
public  voidsetExpressions(Expression[] expressions)
     Sets the expressions for the report.
public  voidsetId(String id)
    
public  voidsetName(String name)
     Defines the name for this Element.
public  voidsetNamespace(String id)
    
public  voidsetStyleExpression(String property, Expression function)
     Adds a function to the report's collection of expressions.
public  voidsetType(String type)
    
public  voidsetVirtual(boolean virtual)
    
public  voidsetVisibility(CSSConstant v)
    

Field Detail
ID_ATTRIBUTE
final public static String ID_ATTRIBUTE(Code)



NAMESPACE_ATTRIBUTE
final public static String NAMESPACE_ATTRIBUTE(Code)
See XML-Namespaces for the idea of that one ...



NAME_ATTRIBUTE
final public static String NAME_ATTRIBUTE(Code)



TYPE_ATTRIBUTE
final public static String TYPE_ATTRIBUTE(Code)
The type corresponds (somewhat) to the tagname of HTML.



VIRTUAL_ATTRIBUTE
final public static String VIRTUAL_ATTRIBUTE(Code)




Constructor Detail
Element
protected Element()(Code)
Constructs an element.

The element inherits the element's defined default ElementStyleSheet to provide reasonable default values for common stylekeys. When the element is added to the band, the bands stylesheet is set as parent to the element's stylesheet.

A datasource is assigned with this element is set to a default source, which always returns null.





Method Detail
addExpression
public void addExpression(Expression function)(Code)
Adds a function to the report's collection of expressions.
Parameters:
  function - the function.



clone
public Object clone() throws CloneNotSupportedException(Code)



getAttribute
public Object getAttribute(String name)(Code)



getAttribute
public Object getAttribute(String namespace, String name)(Code)



getAttributeExpression
public Expression getAttributeExpression(String attr)(Code)
Returns the expressions for the report.
Parameters:
  attr - the expressions.



getAttributeExpression
public Expression getAttributeExpression(String namespace, String attr)(Code)



getAttributeExpressionMap
public AttributeMap getAttributeExpressionMap()(Code)



getAttributeExpressions
public Map getAttributeExpressions(String namespace)(Code)



getAttributeMap
public AttributeMap getAttributeMap()(Code)



getAttributeNameSpaces
public String[] getAttributeNameSpaces()(Code)



getAttributes
public Map getAttributes(String namespace)(Code)



getDisplayCondition
public Expression getDisplayCondition()(Code)



getExpressions
public Expression[] getExpressions()(Code)
Returns the expressions for the report. the expressions.



getId
public String getId()(Code)



getLocale
public Locale getLocale()(Code)



getLocaleFromAttributes
protected Locale getLocaleFromAttributes()(Code)



getName
public String getName()(Code)
Returns the name of the Element. The name of the Element is never null. the name.



getNamespace
public String getNamespace()(Code)



getStyle
public CSSStyleRule getStyle()(Code)
Returns this elements private stylesheet. This sheet can be used to override the default values set in one of the parent-stylesheets. the Element's stylesheet



getStyleExpression
public Expression getStyleExpression(String property)(Code)
Returns the expressions for the report.
Parameters:
  property - the expressions.



getStyleExpressions
public Map getStyleExpressions()(Code)



getType
public String getType()(Code)



getVisibility
public CSSConstant getVisibility()(Code)



isEnabled
public boolean isEnabled()(Code)
Returns true, if the element is enabled. true or false



isVirtual
public boolean isVirtual()(Code)



setAttribute
public void setAttribute(String name, Object value)(Code)



setAttribute
public void setAttribute(String namespace, String name, Object value)(Code)



setAttributeExpression
public void setAttributeExpression(String attr, Expression function)(Code)



setAttributeExpression
public void setAttributeExpression(String namespace, String attr, Expression function)(Code)
Adds a function to the report's collection of expressions.
Parameters:
  namespace -
Parameters:
  attr -
Parameters:
  function - the function.



setDisplayCondition
public void setDisplayCondition(Expression displayCondition)(Code)



setEnabled
public void setEnabled(boolean enabled)(Code)
Defines whether the element is enabled. Disabled elements will be fully ignored by the report processor. This is a design time property to exclude elements from the processing without actually having to deal with the other complex properties.
Parameters:
  enabled -



setExpressions
public void setExpressions(Expression[] expressions)(Code)
Sets the expressions for the report.
Parameters:
  expressions - the expressions (null not permitted).



setId
public void setId(String id)(Code)



setName
public void setName(String name)(Code)
Defines the name for this Element. The name must not be empty, or a NullPointerException is thrown.

Names can be used to lookup an element within a band. There is no requirement for element names to be unique.
Parameters:
  name - the name of this element




setNamespace
public void setNamespace(String id)(Code)



setStyleExpression
public void setStyleExpression(String property, Expression function)(Code)
Adds a function to the report's collection of expressions.
Parameters:
  function - the function.
Parameters:
  property -



setType
public void setType(String type)(Code)



setVirtual
public void setVirtual(boolean virtual)(Code)



setVisibility
public void setVisibility(CSSConstant v)(Code)



Methods inherited from org.jfree.report.structure.Node
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public Expression getDisplayCondition()(Code)(Java Doc)
public Group getGroup()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Node getParent()(Code)(Java Doc)
public ReportDefinition getReport()(Code)(Java Doc)
public JFreeReport getRootReport()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
protected void setParent(Node parent)(Code)(Java Doc)
public void updateParent(Node parent)(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.