Interface IMacro

All Known Subinterfaces:
IDefaultMacro
All Known Implementing Classes:
XMLMacro

public interface IMacro
A Macro can automatically create tag attribute names out of information that is already defined within the grid.
  • Method Details

    • executeMacro

      void executeMacro(BaseComponentTag tag, String[] macroParams)
      Macro execution at runtime.
    • checkIfApplicable

      boolean checkIfApplicable(String tagName)
      Check if a macro can be executed for a certain tag. This function is e.g. called in the Layout Editor: the select box of available macros is filled correspondingly.
    • checkIfAttributeIsAffected

      boolean checkIfAttributeIsAffected(String attribute)
      Check if macro updates a certain attribute's value. This function is called e.g. by the Layout Editor: all attributes that are maintained by the macro are marked correspondingly.
    • getName

      String getName()
      Name of the macro.
    • getMacroParamNames

      String[] getMacroParamNames()
      Names of Macro parameters. Null may be returned in case the macro does not provide for any parameters.