Interface SectionComponent

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

    public interface SectionComponent
    extends Component
    A component that potentially demarcates a semantically significant area of the a parent component. The section component indicates the type of section it demarcates with getSectionType(). If this method returns null, it indicates that the component does not wish to demarcate a semantically significant area.
    Author:
    Garret Wilson
    • Field Detail

      • SECTION_TYPE_PROPERTY

        static final java.lang.String SECTION_TYPE_PROPERTY
        The section type bound property.
    • Method Detail

      • getSectionType

        SectionComponent.SectionType getSectionType()
        Returns:
        The type of section, or null if there is no specific section type specified.
      • setSectionType

        void setSectionType​(SectionComponent.SectionType newSectionType)
        Sets the type of section. This is a bound property.
        Parameters:
        newSectionType - The new type of section, or null if there is no specific type specified.
        See Also:
        SECTION_TYPE_PROPERTY