Java Doc for JRFillElement.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » fill » 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 » jasperreports 2.0.1 » net.sf.jasperreports.engine.fill 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.jasperreports.engine.fill.JRFillElement

All known Subclasses:   net.sf.jasperreports.engine.fill.JRFillTextElement,  net.sf.jasperreports.engine.fill.JRFillBreak,  net.sf.jasperreports.engine.fill.JRFillCrosstab,  net.sf.jasperreports.engine.fill.JRFillChart,  net.sf.jasperreports.engine.fill.JRFillGraphicElement,  net.sf.jasperreports.engine.fill.JRFillSubreport,  net.sf.jasperreports.engine.fill.JRFillFrame,
JRFillElement
abstract public class JRFillElement implements JRElement,JRCloneable,JRStyleSetter(Code)

author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRFillElement.java 1765 2007-06-21 15:50:27Z lucianc $


Field Summary
protected  JRFillBandband
    
protected  JRFillElementContainerconditionalStylesContainer
    
protected  bytecurrentEvaluation
    
protected  JRDefaultStyleProviderdefaultStyleProvider
    
protected  MapdelayedEvaluationsMap
    
protected  JRFillElementGroupelementGroup
    
protected  JRFillExpressionEvaluatorexpressionEvaluator
    
protected  JRBaseFillerfiller
    
protected  JRStyleinitStyle
    
protected  JRElementparent
    
protected  JRGroupprintWhenGroupChanges
    
protected  Maptemplates
    

Constructor Summary
protected  JRFillElement(JRBaseFiller filler, JRElement element, JRFillObjectFactory factory)
    
protected  JRFillElement(JRFillElement element, JRFillCloneFactory factory)
    

Method Summary
protected  voidaddDependantElement(JRElement element)
    
protected  voidcollectDelayedEvaluations()
    
protected  voidcollectDelayedEvaluations(JRExpression expression)
    
protected  voiddelayedEvaluate(JRRecordedValuesPrintElement printElement, JREvaluationTime evaluationTime, byte evaluation)
    
abstract protected  voidevaluate(byte evaluation)
    
final protected  ObjectevaluateExpression(JRExpression expression, byte evaluation)
     Evaluates an expression.
protected  voidevaluatePrintWhenExpression(byte evaluation)
    
abstract protected  JRPrintElementfill()
    
public  ColorgetBackcolor()
    
protected  JRFillBandgetBand()
    
protected  intgetBandBottomY()
    
public  JRDefaultStyleProvidergetDefaultStyleProvider()
    
protected  CollectiongetDependantElements()
    
public  JRElementGroupgetElementGroup()
    
protected  bytegetEvaluationTime()
    
protected  JRFillFieldgetField(String fieldName)
    
public  ColorgetForecolor()
    
protected  JRElement[]getGroupElements()
    
public  intgetHeight()
    
public  StringgetKey()
    
public  bytegetMode()
    
public  ColorgetOwnBackcolor()
    
public  ColorgetOwnForecolor()
    
public  BytegetOwnMode()
    
public  bytegetPositionType()
    
public  JRExpressiongetPrintWhenExpression()
    
public  JRGroupgetPrintWhenGroupChanges()
    
protected  intgetRelativeY()
    
protected  intgetStretchHeight()
    
public  bytegetStretchType()
    
public  JRStylegetStyle()
    
public  StringgetStyleNameReference()
    
protected  JRTemplateElementgetTemplate(JRStyle style)
    
protected  JRFillVariablegetVariable(String variableName)
    
public  intgetWidth()
    
public  intgetX()
    
public  intgetY()
    
protected  voidinitDelayedEvaluationPrint(JRRecordedValuesPrintElement printElement)
    
protected  voidinitDelayedEvaluations()
    
protected  booleanisAlreadyPrinted()
    
protected  booleanisAutoEvaluateNow()
    
protected  booleanisEvaluateAuto()
    
protected  booleanisEvaluateNow()
    
public  booleanisPrintInFirstWholeBand()
    
public  booleanisPrintRepeatedValues()
    
public  booleanisPrintWhenDetailOverflows()
    
protected  booleanisPrintWhenExpressionNull()
    
protected  booleanisPrintWhenTrue()
    
public  booleanisRemoveLineWhenBlank()
    
protected  booleanisReprinted()
    
protected  booleanisToPrint()
    
protected  booleanisValueRepeating()
     Decides whether the value for this element is repeating.

Dynamic elements should call JRFillElement.setValueRepeating(boolean) setValueRepeating(boolean) on JRFillElement.evaluate(byte) evaluate(byte) .

protected  voidmoveDependantElements()
    
protected  booleanprepare(int availableStretchHeight, boolean isOverflow)
    
protected  voidregisterTemplate(JRStyle style, JRTemplateElement template)
    
protected  voidreset()
    
abstract protected  voidresolveElement(JRPrintElement element, byte evaluation)
     Resolves an element.
protected  voidresolveElement(JRPrintElement element, byte evaluation, JREvaluationTime evaluationTime)
     Resolves an element.
abstract protected  voidrewind()
    
protected  voidsetAlreadyPrinted(boolean isAlreadyPrinted)
    
public  voidsetBackcolor(Color backcolor)
    
protected  voidsetBand(JRFillBand band)
    
protected  voidsetBandBottomY(int bandBottomY)
    
protected  voidsetConditionalStylesContainer(JRFillElementContainer conditionalStylesContainer)
    
protected  voidsetCurrentEvaluation(byte evaluation)
    
public  voidsetForecolor(Color forecolor)
    
public  voidsetHeight(int height)
    
public  voidsetMode(byte mode)
    
public  voidsetMode(Byte mode)
    
public  voidsetPositionType(byte positionType)
    
public  voidsetPrintInFirstWholeBand(boolean isPrint)
    
public  voidsetPrintRepeatedValues(boolean isPrintRepeatedValues)
    
public  voidsetPrintWhenDetailOverflows(boolean isPrint)
    
protected  voidsetPrintWhenExpressionNull(boolean isPrintWhenExpressionNull)
    
protected  voidsetPrintWhenTrue(boolean isPrintWhenTrue)
    
protected  voidsetRelativeY(int relativeY)
    
public  voidsetRemoveLineWhenBlank(boolean isRemoveLine)
    
protected  voidsetReprinted(boolean isReprinted)
    
final protected  voidsetShrinkable(boolean shrinkable)
     Indicates whether an element is shrinkable.
protected  voidsetStretchHeight(int stretchHeight)
    
public  voidsetStretchType(byte stretchType)
    
public  voidsetStyle(JRStyle style)
    
public  voidsetStyleNameReference(String name)
    
protected  voidsetToPrint(boolean isToPrint)
    
protected  voidsetValueRepeating(boolean isValueRepeating)
     Sets the repeating flag for this element.
public  voidsetWidth(int width)
    
public  voidsetX(int x)
    
public  voidsetY(int y)
    
protected  voidstretchElement(int bandStretch)
    
protected  voidstretchHeightFinal()
     Called when the stretch height of an element is final so that the element can perform any adjustments.

Field Detail
band
protected JRFillBand band(Code)



conditionalStylesContainer
protected JRFillElementContainer conditionalStylesContainer(Code)



currentEvaluation
protected byte currentEvaluation(Code)



defaultStyleProvider
protected JRDefaultStyleProvider defaultStyleProvider(Code)



delayedEvaluationsMap
protected Map delayedEvaluationsMap(Code)



elementGroup
protected JRFillElementGroup elementGroup(Code)



expressionEvaluator
protected JRFillExpressionEvaluator expressionEvaluator(Code)



filler
protected JRBaseFiller filler(Code)



initStyle
protected JRStyle initStyle(Code)



parent
protected JRElement parent(Code)



printWhenGroupChanges
protected JRGroup printWhenGroupChanges(Code)



templates
protected Map templates(Code)




Constructor Detail
JRFillElement
protected JRFillElement(JRBaseFiller filler, JRElement element, JRFillObjectFactory factory)(Code)
private JRElement topElementInGroup = null; private JRElement bottomElementInGroup = null; /**



JRFillElement
protected JRFillElement(JRFillElement element, JRFillCloneFactory factory)(Code)




Method Detail
addDependantElement
protected void addDependantElement(JRElement element)(Code)



collectDelayedEvaluations
protected void collectDelayedEvaluations()(Code)



collectDelayedEvaluations
protected void collectDelayedEvaluations(JRExpression expression)(Code)



delayedEvaluate
protected void delayedEvaluate(JRRecordedValuesPrintElement printElement, JREvaluationTime evaluationTime, byte evaluation) throws JRException(Code)



evaluate
abstract protected void evaluate(byte evaluation) throws JRException(Code)



evaluateExpression
final protected Object evaluateExpression(JRExpression expression, byte evaluation) throws JRException(Code)
Evaluates an expression.
Parameters:
  expression - the expression
Parameters:
  evaluation - the evaluation type the evaluation result
throws:
  JRException -



evaluatePrintWhenExpression
protected void evaluatePrintWhenExpression(byte evaluation) throws JRException(Code)



fill
abstract protected JRPrintElement fill() throws JRException(Code)



getBackcolor
public Color getBackcolor()(Code)



getBand
protected JRFillBand getBand()(Code)



getBandBottomY
protected int getBandBottomY()(Code)



getDefaultStyleProvider
public JRDefaultStyleProvider getDefaultStyleProvider()(Code)



getDependantElements
protected Collection getDependantElements()(Code)



getElementGroup
public JRElementGroup getElementGroup()(Code)



getEvaluationTime
protected byte getEvaluationTime()(Code)



getField
protected JRFillField getField(String fieldName)(Code)



getForecolor
public Color getForecolor()(Code)



getGroupElements
protected JRElement[] getGroupElements()(Code)



getHeight
public int getHeight()(Code)



getKey
public String getKey()(Code)



getMode
public byte getMode()(Code)



getOwnBackcolor
public Color getOwnBackcolor()(Code)



getOwnForecolor
public Color getOwnForecolor()(Code)



getOwnMode
public Byte getOwnMode()(Code)



getPositionType
public byte getPositionType()(Code)



getPrintWhenExpression
public JRExpression getPrintWhenExpression()(Code)



getPrintWhenGroupChanges
public JRGroup getPrintWhenGroupChanges()(Code)



getRelativeY
protected int getRelativeY()(Code)



getStretchHeight
protected int getStretchHeight()(Code)



getStretchType
public byte getStretchType()(Code)



getStyle
public JRStyle getStyle()(Code)



getStyleNameReference
public String getStyleNameReference()(Code)



getTemplate
protected JRTemplateElement getTemplate(JRStyle style)(Code)



getVariable
protected JRFillVariable getVariable(String variableName)(Code)



getWidth
public int getWidth()(Code)



getX
public int getX()(Code)



getY
public int getY()(Code)



initDelayedEvaluationPrint
protected void initDelayedEvaluationPrint(JRRecordedValuesPrintElement printElement) throws JRException(Code)



initDelayedEvaluations
protected void initDelayedEvaluations()(Code)



isAlreadyPrinted
protected boolean isAlreadyPrinted()(Code)



isAutoEvaluateNow
protected boolean isAutoEvaluateNow()(Code)



isEvaluateAuto
protected boolean isEvaluateAuto()(Code)



isEvaluateNow
protected boolean isEvaluateNow()(Code)



isPrintInFirstWholeBand
public boolean isPrintInFirstWholeBand()(Code)



isPrintRepeatedValues
public boolean isPrintRepeatedValues()(Code)



isPrintWhenDetailOverflows
public boolean isPrintWhenDetailOverflows()(Code)



isPrintWhenExpressionNull
protected boolean isPrintWhenExpressionNull()(Code)



isPrintWhenTrue
protected boolean isPrintWhenTrue()(Code)



isRemoveLineWhenBlank
public boolean isRemoveLineWhenBlank()(Code)



isReprinted
protected boolean isReprinted()(Code)



isToPrint
protected boolean isToPrint()(Code)



isValueRepeating
protected boolean isValueRepeating()(Code)
Decides whether the value for this element is repeating.

Dynamic elements should call JRFillElement.setValueRepeating(boolean) setValueRepeating(boolean) on JRFillElement.evaluate(byte) evaluate(byte) . Static elements don't have to do anything, this method will return true by default. whether the value for this element is repeating
See Also:   JRFillElement.setValueRepeating(boolean)




moveDependantElements
protected void moveDependantElements()(Code)



prepare
protected boolean prepare(int availableStretchHeight, boolean isOverflow) throws JRException(Code)



registerTemplate
protected void registerTemplate(JRStyle style, JRTemplateElement template)(Code)



reset
protected void reset()(Code)



resolveElement
abstract protected void resolveElement(JRPrintElement element, byte evaluation) throws JRException(Code)
Resolves an element.
Parameters:
  element - the element
Parameters:
  evaluation - the evaluation type



resolveElement
protected void resolveElement(JRPrintElement element, byte evaluation, JREvaluationTime evaluationTime) throws JRException(Code)
Resolves an element.
Parameters:
  element - the element
Parameters:
  evaluation - the evaluation type
Parameters:
  evaluationTime - the current evaluation time



rewind
abstract protected void rewind() throws JRException(Code)



setAlreadyPrinted
protected void setAlreadyPrinted(boolean isAlreadyPrinted)(Code)



setBackcolor
public void setBackcolor(Color backcolor)(Code)



setBand
protected void setBand(JRFillBand band)(Code)



setBandBottomY
protected void setBandBottomY(int bandBottomY)(Code)



setConditionalStylesContainer
protected void setConditionalStylesContainer(JRFillElementContainer conditionalStylesContainer)(Code)



setCurrentEvaluation
protected void setCurrentEvaluation(byte evaluation)(Code)



setForecolor
public void setForecolor(Color forecolor)(Code)



setHeight
public void setHeight(int height)(Code)



setMode
public void setMode(byte mode)(Code)



setMode
public void setMode(Byte mode)(Code)



setPositionType
public void setPositionType(byte positionType)(Code)



setPrintInFirstWholeBand
public void setPrintInFirstWholeBand(boolean isPrint)(Code)



setPrintRepeatedValues
public void setPrintRepeatedValues(boolean isPrintRepeatedValues)(Code)



setPrintWhenDetailOverflows
public void setPrintWhenDetailOverflows(boolean isPrint)(Code)



setPrintWhenExpressionNull
protected void setPrintWhenExpressionNull(boolean isPrintWhenExpressionNull)(Code)



setPrintWhenTrue
protected void setPrintWhenTrue(boolean isPrintWhenTrue)(Code)



setRelativeY
protected void setRelativeY(int relativeY)(Code)



setRemoveLineWhenBlank
public void setRemoveLineWhenBlank(boolean isRemoveLine)(Code)



setReprinted
protected void setReprinted(boolean isReprinted)(Code)



setShrinkable
final protected void setShrinkable(boolean shrinkable)(Code)
Indicates whether an element is shrinkable.

This flag is only effective when JRFillElement.isRemoveLineWhenBlank() isRemoveLineWhenBlank is also set.
Parameters:
  shrinkable - whether the element is shrinkable




setStretchHeight
protected void setStretchHeight(int stretchHeight)(Code)



setStretchType
public void setStretchType(byte stretchType)(Code)



setStyle
public void setStyle(JRStyle style)(Code)



setStyleNameReference
public void setStyleNameReference(String name)(Code)



setToPrint
protected void setToPrint(boolean isToPrint)(Code)



setValueRepeating
protected void setValueRepeating(boolean isValueRepeating)(Code)
Sets the repeating flag for this element.

This method should be called by dynamic elements on JRFillElement.evaluate(byte) evaluate(byte) .
Parameters:
  isValueRepeating - whether the value of the element is repeating
See Also:   JRFillElement.isValueRepeating()




setWidth
public void setWidth(int width)(Code)



setX
public void setX(int x)(Code)



setY
public void setY(int y)(Code)



stretchElement
protected void stretchElement(int bandStretch)(Code)



stretchHeightFinal
protected void stretchHeightFinal()(Code)
Called when the stretch height of an element is final so that the element can perform any adjustments.



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.