Java Doc for Section.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
         org.jfree.report.structure.Section

All known Subclasses:   org.jfree.report.structure.ReportDefinition,  org.jfree.report.structure.DetailSection,  org.jfree.report.structure.Group,
Section
public class Section extends Element (Code)
A report section is a collection of other elements and sections.

This implementation is not synchronized, to take care that you externally synchronize it when using multiple threads to modify instances of this class.

Trying to add a parent of an band as child to the band, will result in an exception.

The attribute and style expressions added to the element are considered unnamed and stateless. To define a named, statefull state expression, one would create an ordinary named expression or function and would then reference that expression from within a style or attribute expression.
author:
   Thomas Morgner




Constructor Summary
public  Section()
     Constructs a new band (initially empty).

Method Summary
public  voidaddNode(Node element)
     Adds a report element to the band.
public  voidaddNode(int position, Node element)
     Adds a report element to the band.
public  voidaddNodes(Collection elements)
     Adds a collection of elements to the band.
public  voidaddOperationAfter(FlowControlOperation op)
    
public  voidaddOperationBefore(FlowControlOperation op)
    
public  Objectclone()
    
public  ElementfindFirstChild(String uri, String tagName)
    
public  ElementgetElementByName(String name)
     Returns the first element in the list that is known by the given name.
Parameters:
  name - the element name.
public  NodegetNode(int index)
     Returns the element stored add the given index.
public  Node[]getNodeArray()
     Returns an array of the elements in the band.
public  intgetNodeCount()
     Returns the number of elements in this band.
public  ListgetNodes()
     Returns all child-elements of this band as immutable list.
public  FlowControlOperation[]getOperationAfter()
    
public  FlowControlOperation[]getOperationBefore()
    
public  booleanisRepeat()
    
public  voidremoveNode(Node e)
     Removes an element from the band.
public  voidsetOperationAfter(FlowControlOperation[] ops)
    
public  voidsetOperationBefore(FlowControlOperation[] before)
    
public  voidsetRepeat(boolean repeat)
    
public  StringtoString()
     Returns a string representation of the band and all the elements it contains, useful mainly for debugging purposes.


Constructor Detail
Section
public Section()(Code)
Constructs a new band (initially empty).




Method Detail
addNode
public void addNode(Node element)(Code)
Adds a report element to the band.
Parameters:
  element - the element that should be added
throws:
  NullPointerException - if the given element is null
throws:
  IllegalArgumentException - if the position is invalid, eithernegative or greater than the number ofelements in this band or if the givenelement is a parent of this element.



addNode
public void addNode(int position, Node element)(Code)
Adds a report element to the band. The element will be inserted at the specified position.
Parameters:
  position - the position where to insert the element
Parameters:
  element - the element that should be added
throws:
  NullPointerException - if the given element is null
throws:
  IllegalArgumentException - if the position is invalid, eithernegative or greater than the number ofelements in this band or if the givenelement is a parent of this element.



addNodes
public void addNodes(Collection elements)(Code)
Adds a collection of elements to the band.
Parameters:
  elements - the element collection.
throws:
  NullPointerException - if one of the given elements is null
throws:
  IllegalArgumentException - if one of the given element is a parent ofthis element.



addOperationAfter
public void addOperationAfter(FlowControlOperation op)(Code)



addOperationBefore
public void addOperationBefore(FlowControlOperation op)(Code)



clone
public Object clone() throws CloneNotSupportedException(Code)



findFirstChild
public Element findFirstChild(String uri, String tagName)(Code)



getElementByName
public Element getElementByName(String name)(Code)
Returns the first element in the list that is known by the given name.
Parameters:
  name - the element name. the first element with the specified name, or null ifthere is no such element.
throws:
  NullPointerException - if the given name is null.



getNode
public Node getNode(int index)(Code)
Returns the element stored add the given index.
Parameters:
  index - the element position within this band the element
throws:
  IndexOutOfBoundsException - if the index is invalid.



getNodeArray
public Node[] getNodeArray()(Code)
Returns an array of the elements in the band. If the band is empty, an empty array is returned.

For performance reasons, a shared cached instance is returned. Do not modify the returned array or live with the consquences. the elements.




getNodeCount
public int getNodeCount()(Code)
Returns the number of elements in this band. the number of elements of this band.



getNodes
public List getNodes()(Code)
Returns all child-elements of this band as immutable list. an immutable list of all registered elements for this band.



getOperationAfter
public FlowControlOperation[] getOperationAfter()(Code)



getOperationBefore
public FlowControlOperation[] getOperationBefore()(Code)



isRepeat
public boolean isRepeat()(Code)



removeNode
public void removeNode(Node e)(Code)
Removes an element from the band.
Parameters:
  e - the element to be removed.
throws:
  NullPointerException - if the given element is null.



setOperationAfter
public void setOperationAfter(FlowControlOperation[] ops)(Code)



setOperationBefore
public void setOperationBefore(FlowControlOperation[] before)(Code)



setRepeat
public void setRepeat(boolean repeat)(Code)



toString
public String toString()(Code)
Returns a string representation of the band and all the elements it contains, useful mainly for debugging purposes. a string representation of this band.



Fields inherited from org.jfree.report.structure.Element
final public static String ID_ATTRIBUTE(Code)(Java Doc)
final public static String NAMESPACE_ATTRIBUTE(Code)(Java Doc)
final public static String NAME_ATTRIBUTE(Code)(Java Doc)
final public static String TYPE_ATTRIBUTE(Code)(Java Doc)
final public static String VIRTUAL_ATTRIBUTE(Code)(Java Doc)

Methods inherited from org.jfree.report.structure.Element
public void addExpression(Expression function)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public Object getAttribute(String name)(Code)(Java Doc)
public Object getAttribute(String namespace, String name)(Code)(Java Doc)
public Expression getAttributeExpression(String attr)(Code)(Java Doc)
public Expression getAttributeExpression(String namespace, String attr)(Code)(Java Doc)
public AttributeMap getAttributeExpressionMap()(Code)(Java Doc)
public Map getAttributeExpressions(String namespace)(Code)(Java Doc)
public AttributeMap getAttributeMap()(Code)(Java Doc)
public String[] getAttributeNameSpaces()(Code)(Java Doc)
public Map getAttributes(String namespace)(Code)(Java Doc)
public Expression getDisplayCondition()(Code)(Java Doc)
public Expression[] getExpressions()(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
protected Locale getLocaleFromAttributes()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public String getNamespace()(Code)(Java Doc)
public CSSStyleRule getStyle()(Code)(Java Doc)
public Expression getStyleExpression(String property)(Code)(Java Doc)
public Map getStyleExpressions()(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public CSSConstant getVisibility()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isVirtual()(Code)(Java Doc)
public void setAttribute(String name, Object value)(Code)(Java Doc)
public void setAttribute(String namespace, String name, Object value)(Code)(Java Doc)
public void setAttributeExpression(String attr, Expression function)(Code)(Java Doc)
public void setAttributeExpression(String namespace, String attr, Expression function)(Code)(Java Doc)
public void setDisplayCondition(Expression displayCondition)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setExpressions(Expression[] expressions)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setNamespace(String id)(Code)(Java Doc)
public void setStyleExpression(String property, Expression function)(Code)(Java Doc)
public void setType(String type)(Code)(Java Doc)
public void setVirtual(boolean virtual)(Code)(Java Doc)
public void setVisibility(CSSConstant v)(Code)(Java Doc)

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.