Class JRFillField

java.lang.Object
net.sf.jasperreports.engine.fill.JRFillField
All Implemented Interfaces:
Cloneable, JRCloneable, JRField, JRPropertiesHolder

public class JRFillField extends Object implements JRField
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: JRField
      Gets the field unique name.
      Specified by:
      getName in interface JRField
    • getDescription

      public String getDescription()
      Description copied from interface: JRField
      Gets the field optional description.
      Specified by:
      getDescription in interface JRField
    • setDescription

      public void setDescription(String description)
      Description copied from interface: JRField
      Sets the field description.
      Specified by:
      setDescription in interface JRField
    • getValueClass

      public Class<?> getValueClass()
      Description copied from interface: JRField
      Gets the field value class. Field types cannot be primitives.
      Specified by:
      getValueClass in interface JRField
    • getValueClassName

      public String getValueClassName()
      Description copied from interface: JRField
      Gets the field value class name.
      Specified by:
      getValueClassName in interface JRField
    • getOldValue

      public Object getOldValue()
    • setOldValue

      public void setOldValue(Object oldValue)
    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object value)
    • getValue

      public Object getValue(byte evaluation)
    • overwriteValue

      public void overwriteValue(Object newValue, byte evaluation)
    • restoreValue

      public void restoreValue(byte evaluation)
    • getPreviousOldValue

      public Object getPreviousOldValue()
    • setPreviousOldValue

      public void setPreviousOldValue(Object previousOldValue)
    • hasProperties

      public boolean hasProperties()
      Description copied from interface: JRPropertiesHolder
      Checks whether the object has any properties.
      Specified by:
      hasProperties in interface JRPropertiesHolder
      Returns:
      whether the object has any properties
    • getPropertiesMap

      public JRPropertiesMap getPropertiesMap()
      Description copied from interface: JRPropertiesHolder
      Returns this object's properties map.
      Specified by:
      getPropertiesMap in interface JRPropertiesHolder
      Returns:
      this object's properties map
    • getParentProperties

      public JRPropertiesHolder getParentProperties()
      Description copied from interface: JRPropertiesHolder
      Returns the parent properties holder, whose properties are used as defaults for this object.
      Specified by:
      getParentProperties in interface JRPropertiesHolder
      Returns:
      the parent properties holder, or null if no parent
    • getPropertyExpressions

      public JRPropertyExpression[] getPropertyExpressions()
      Description copied from interface: JRField
      Returns the list of dynamic/expression-based properties for this field.
      Specified by:
      getPropertyExpressions in interface JRField
      Returns:
      an array containing the expression-based properties of this field
    • evaluateProperties

      protected void evaluateProperties() throws JRException
      Throws:
      JRException
    • evaluateExpression

      protected final Object evaluateExpression(JRExpression expression) throws JRException
      Throws:
      JRException
    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object