All Implemented Interfaces:
GomCheckable, GomElement, GomFormatProvider, GomFormElement, GomHideable, GomLangInfoProvider, GomLinkEditorProvider, GomSearchRelevancy, ImportEnabling, LineBreakable, Serializable

@NonExtendable public class GomDomTable extends AbstractGomDom
GOM implementation of DOM Table
Since:
2.1
See Also:
  • Field Details

  • Constructor Details

    • GomDomTable

      public GomDomTable()
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getColumnChange

      public YesNo getColumnChange()
      Indicates if the editor is allowed to change the number of columns
      Since:
      2.1
    • setColumnChange

      public void setColumnChange(YesNo columnchange)
      Sets if the editor is allowed to change the number of columns
      Since:
      2.1
    • getCombine

      public YesNo getCombine()
      Indicates if the editor is allowed to merge cells
      Since:
      2.1
    • setCombine

      public void setCombine(YesNo combine)
      Sets if the editor is allowed to merge cells
      Since:
      2.1
    • getImport

      public YesNo getImport()
      Description copied from class: AbstractGomDom
      Indicates if the button for importing from MS Word (R) is enabled
      Overrides:
      getImport in class AbstractGomDom
    • setImport

      public void setImport(YesNo import1)
      Description copied from class: AbstractGomDom
      Sets if the button for importing from MS Word (R) is enabled
      Overrides:
      setImport in class AbstractGomDom
    • getEnableImport

      public YesNo getEnableImport()
      Description copied from class: AbstractGomDom
      Get the editor state for importing CF_HTML content. requires the FirstSpirit-Office module.
      Overrides:
      getEnableImport in class AbstractGomDom
      Returns:
      YesNo Enable button for importing CF_HTML content.
      Since:
      4.2
    • setEnableImport

      public void setEnableImport(YesNo enableImport)
      Description copied from class: AbstractGomDom
      Enables the button for importing CF_HTML content. requires the FirstSpirit-Office module.
      Overrides:
      setEnableImport in class AbstractGomDom
      Parameters:
      enableImport - Enable button for importing CF_HTML content.
      Since:
      4.2
    • getImportRuleset

      public String getImportRuleset()
      Description copied from class: AbstractGomDom
      Get a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.
      Overrides:
      getImportRuleset in class AbstractGomDom
      Returns:
      a comma separated list of the available ruleset.
      Since:
      4.2
    • setImportRuleset

      public void setImportRuleset(String importRuleset)
      Description copied from class: AbstractGomDom
      Defines a comma separated list of available ruleset definitions. requires the FirstSpirit-Office module.
      Overrides:
      setImportRuleset in class AbstractGomDom
      Parameters:
      importRuleset - a comma separated list of the available ruleset definitions.
      Since:
      4.2
    • showsImport

      public boolean showsImport()
      Description copied from class: AbstractGomDom
      Convenience API for AbstractGomDom.getImport() returning a boolean value
      Overrides:
      showsImport in class AbstractGomDom
    • showsEnableImport

      public boolean showsEnableImport()
      Show the button for importing CF_HTML content.
      Overrides:
      showsEnableImport in class AbstractGomDom
      Returns:
      true if enabled, otherwise false
      Since:
      4.2
    • getHeight

      public PositiveInteger getHeight()
      Height of table in rows
      Since:
      2.1
    • setHeight

      public void setHeight(PositiveInteger height)
      Sets the height of the table in rows
      Since:
      2.1
    • getProperties

      public YesNo getProperties()
      Indicates if the editor is allowed to change cell properties
      Since:
      2.1
    • setProperties

      public void setProperties(YesNo properties)
      Sets if the editor is allowed to change cell properties
      Since:
      2.1
    • getPropertyConfig

      public String getPropertyConfig()
      Extends property dialog for the given parameter definitions
      Since:
      2.1
    • setPropertyConfig

      public void setPropertyConfig(String propertyconfig)
      Sets the property config.
      Since:
      2.1
    • getRowChange

      public YesNo getRowChange()
      Indicates if the editor is allowed to change the number of rows
      Since:
      2.1
    • setRowChange

      public void setRowChange(YesNo rowchange)
      Sets if the editor is allowed to change the number of rows
      Since:
      2.1
    • showsRowChange

      public boolean showsRowChange()
      Convenience API for getRowChange() returning a boolean value
      Since:
      2.1
    • showsColumnChange

      public boolean showsColumnChange()
      Convenience API for getColumnChange() returning a boolean value
      Since:
      2.1
    • showsCombine

      public boolean showsCombine()
      Convenience API for getCombine() returning a boolean value
      Since:
      2.1
    • showsProperties

      public boolean showsProperties()
      Convenience API for getProperties() returning a boolean value
      Since:
      2.1
    • height

      public int height()
      Convenience API for getHeight() returning an integer value
      Returns:
      the height of the table as rows or 6 if unset
      Since:
      4.1.10