Class Separator

java.lang.Object
org.ametys.core.ui.ribbonconfiguration.Separator
All Implemented Interfaces:
Element

public class Separator extends Object implements Element
A menu separator
  • Constructor Details

  • Method Details

    • getChildren

      Description copied from interface: Element
      Retrieve the list of children elements in this element.
      Specified by:
      getChildren in interface Element
      Returns:
      The list of elements.
    • toSAX

      public void toSAX(ContentHandler handler) throws SAXException
      Description copied from interface: Element
      Sax the the configuration of the element.
      Specified by:
      toSAX in interface Element
      Parameters:
      handler - The content handler where to sax
      Throws:
      SAXException - if an error occurs
    • isSame

      public boolean isSame(Element element)
      Description copied from interface: Element
      Test if an element is equal to another element
      Specified by:
      isSame in interface Element
      Parameters:
      element - The element to compare to
      Returns:
      True if equals
    • getColumns

      public int getColumns()
      Description copied from interface: Element
      Get the size taken by this element, in columns
      Specified by:
      getColumns in interface Element
      Returns:
      The size
    • setColumns

      public void setColumns(int size)
      Description copied from interface: Element
      Set the size to take by this element
      Specified by:
      setColumns in interface Element
      Parameters:
      size - The size in number of columns