Interface IDesignElement

All Known Subinterfaces:
IAutoText, ICell, IColumn, IDataItem, IDynamicText, IExtendedItem, IFilterConditionElement, IGrid, IGroup, IImage, ILabel, IList, IListGroup, IListing, IMasterPage, IMultiRowItem, IReportDesign, IReportElement, IReportItem, IRow, ISortElement, ITable, ITableGroup, ITextItem
All Known Implementing Classes:
MultiRowItem, SimpleRowItem

public interface IDesignElement
Script wrapper of DesignElementHandle
  • Method Details

    • getStyle

      IStyle getStyle()
      Gets design element style.
      Returns:
      style
    • getQualifiedName

      String getQualifiedName()
      Gets the name of this element. The returned element name will be the same as getName(), plus the namespace of the module that the elment is contained, if any. If the element is existed in the current module,this method and getName() will return identical results.
      Returns:
      the qualified name of thie element.
    • getNamedExpression

      String getNamedExpression(String name)
      Returns name of user property defined in this element.
      Parameters:
      name -
      Returns:
      name of user property
    • setNamedExpression

      void setNamedExpression(String name, String exp) throws SemanticException
      Sets name of user property defined in this element.
      Parameters:
      name - name of user property
      exp - name expression
      Throws:
      SemanticException
    • getUserProperty

      @Deprecated Object getUserProperty(String name)
      Deprecated.
      Returns user property defined in this element.
      Parameters:
      name -
      Returns:
      user property
    • setUserProperty

      void setUserProperty(String name, String value) throws SemanticException
      Sets user property defined in this element.
      Parameters:
      name -
      value -
      Throws:
      SemanticException
    • setUserProperty

      void setUserProperty(String name, Object value, String type) throws SemanticException
      Sets user property defined in this element.
      Parameters:
      name -
      value -
      type -
      Throws:
      SemanticException
    • getParent

      IDesignElement getParent()
      Return the parent of this element
      Returns:
      the parent
    • getReport

      IReportDesign getReport()
      Gets the report.
      Returns:
      the report
    • getUserPropertyExpression

      Object getUserPropertyExpression(String name)
      Returns user property as an expression defined in this element.
      Parameters:
      name - the user property name
      Returns:
      user property as an expression