All Superinterfaces:
IDesignElement

public interface IRow extends IDesignElement
Represents a row in the scripting environment
  • Method Details

    • getHeight

      String getHeight()
      Gets a handle to deal with the row's height.
      Returns:
      the row's height.
    • getBookmark

      String getBookmark()
      Returns the bookmark of the row. The bookmark value is evaluated as an expression.
      Returns:
      the book mark as a string
    • setBookmark

      void setBookmark(String value) throws ScriptException
      Sets the bookmark of the row. The bookmark value is evaluated as an expression. If you want the bookmark to be the string "bookmark", you need to use setBookmark("\"bookmark\""); If bookmark is a JavaScript variable, use setBookmark("bookmark");
      Parameters:
      value - the bookmark expression
      Throws:
      ScriptException - if the property is locked.
    • removeHideRule

      void removeHideRule(IHideRule rule) throws ScriptException
      Removes all hide rules that matches formatType.
      Parameters:
      rule -
      Throws:
      ScriptException
    • removeHideRules

      void removeHideRules() throws ScriptException
      Removes all hide rules
      Throws:
      ScriptException
    • getHideRules

      IHideRule[] getHideRules()
      Returns array of hide rule expression
      Returns:
      array of hide rule expression
    • addHideRule

      void addHideRule(IHideRule rule) throws ScriptException
      Add HideRule
      Parameters:
      rule -
      Throws:
      ScriptException
    • getHighlightRules

      IHighlightRule[] getHighlightRules()
      Gets all high light rules.
      Returns:
      all high light rules
    • addHighlightRule

      void addHighlightRule(IHighlightRule rule) throws ScriptException
      Adds high light rule.
      Parameters:
      rule -
      Throws:
      ScriptException
    • removeHighlightRules

      void removeHighlightRules() throws ScriptException
      Removes all high light rules.
      Throws:
      ScriptException
    • removeHighlightRule

      void removeHighlightRule(IHighlightRule rule) throws ScriptException
      Removes high light rule.
      Parameters:
      rule -
      Throws:
      ScriptException