Class StandardItemProperty

java.lang.Object
net.sf.jasperreports.components.items.StandardItemProperty
All Implemented Interfaces:
Serializable, Cloneable, ItemProperty, JRChangeEventsSupport, JRCloneable

public class StandardItemProperty extends Object implements ItemProperty, JRChangeEventsSupport, Serializable
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
  • Field Details

  • Constructor Details

    • StandardItemProperty

      public StandardItemProperty()
    • StandardItemProperty

      public StandardItemProperty(String name, String value, JRExpression valueExpression)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: ItemProperty
      Returns the name of the item property (required).
      Specified by:
      getName in interface ItemProperty
      Returns:
      the property name
    • setName

      public void setName(String name)
    • getValue

      public String getValue()
      Description copied from interface: ItemProperty
      Returns the value attribute of the item property. Only java.lang.String values are allowed for this attribute.
      Specified by:
      getValue in interface ItemProperty
      Returns:
      the value attribute
    • setValue

      public void setValue(String value)
    • getValueExpression

      public JRExpression getValueExpression()
      Description copied from interface: ItemProperty
      Returns a JRExpression representing the value object for the item property. If present, it overrides the value given by the value attribute.
      Specified by:
      getValueExpression in interface ItemProperty
      Returns:
      the value expression
    • setValueExpression

      public void setValueExpression(JRExpression valueExpression)
    • getEventSupport

      public JRPropertyChangeSupport getEventSupport()
      Description copied from interface: JRChangeEventsSupport
      Returns the property change support object for this instance.
      Specified by:
      getEventSupport in interface JRChangeEventsSupport
      Returns:
      the property change support object for this instance
    • clone

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