Interface HeadingComponent

All Superinterfaces:
Component, DepictedObject, Displayable, InfoModel, LabelModel, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Implementing Classes:
Heading, HeadingLink

public interface HeadingComponent extends Component
A component meant to be a heading. A heading provides a zero-based logical level of hierarchical nesting, with lower levels indicating headings of larger groupings of information.
Author:
Garret Wilson
  • Field Details

    • NO_HEADING_LEVEL

      static final int NO_HEADING_LEVEL
      The heading level value indicating no heading level.
      See Also:
    • LEVEL_PROPERTY

      static final String LEVEL_PROPERTY
      The level bound property.
  • Method Details

    • getLevel

      int getLevel()
      Returns:
      The zero-based level of the heading, or NO_HEADING_LEVEL if no level is specified.
    • setLevel

      void setLevel(int newLevel)
      Sets the level of the heading. This is a bound property of type Integer.
      Parameters:
      newLevel - The new zero-based heading level, or NO_HEADING_LEVEL if no level is specified.
      See Also: