Interface Divider<D extends Divider<D>>

All Superinterfaces:
Comparable<D>, Component<D>, Copyable<D>, Serializable, SimpleFormComponent<D>
All Known Implementing Classes:
DefaultDivider

public interface Divider<D extends Divider<D>> extends SimpleFormComponent<D>, Component<D>
Represents a simple horizontal rule between other components.
Since:
Metadata Service 2.0.8, Release Train 2.1.6
Author:
Nathan Moore (nathandmoore)
  • Method Details

    • getWidth

      default String getWidth()
      Get the width of the divider.
      Returns:
      Get the width of the divider.
    • unsetWidth

      default D unsetWidth()
      Unset the width of the divider.
      Returns:
      self
    • width

      default D width(String width)
      Set the width of the divider.
      Parameters:
      width - The width of the divider
      Returns:
      self
    • getSpacing

      default String getSpacing()
      Get the spacing of the divider.
      Returns:
      The spacing of the divider, default is 2.
    • unsetSpacing

      default D unsetSpacing()
      Unset the spacing of the divider.
      Returns:
      self
    • spacing

      default D spacing(String spacing)
      Set the spacing of the divider.
      Parameters:
      spacing - The spacing of the divider
      Returns:
      self