Class FormatValueHandle


public class FormatValueHandle extends StructureHandle
Represents a format value in the style or the highlight rule.
  • Constructor Details

    • FormatValueHandle

      public FormatValueHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context)
      Construct an handle to deal with the action structure.
      Parameters:
      element - the element that defined the action.
      context - context to the format value property.
    • FormatValueHandle

      @Deprecated public FormatValueHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.MemberRef context)
      Deprecated.
      Construct an handle to deal with the action structure.
      Parameters:
      element - the element that defined the action.
      context - context to the format value property
  • Method Details

    • getCategory

      public String getCategory()
      Returns the category of the format.
      Returns:
      the category of the format
    • setCategory

      public void setCategory(String pattern) throws SemanticException
      Sets the category of the format.
      Parameters:
      pattern - the category of the format
      Throws:
      SemanticException - if pattern is not one of the BIRT defined.
    • getPattern

      public String getPattern()
      Returns the pattern of the format.
      Returns:
      the pattern of the format
    • setPattern

      public void setPattern(String value)
      Sets the pattern of the format.
      Parameters:
      value - the pattern of the format
    • setLocale

      public void setLocale(com.ibm.icu.util.ULocale locale) throws SemanticException
      Sets the locale of the format.
      Parameters:
      locale - the locale of the format.
      Throws:
      SemanticException
    • getLocale

      public com.ibm.icu.util.ULocale getLocale()
      Gets the locale of the format.
      Returns:
      the locale of the format.