Interface InfoModel

    • Field Detail

      • DESCRIPTION_PROPERTY

        static final java.lang.String DESCRIPTION_PROPERTY
        The description bound property.
      • DESCRIPTION_CONTENT_TYPE_PROPERTY

        static final java.lang.String DESCRIPTION_CONTENT_TYPE_PROPERTY
        The description content type bound property.
      • INFO_PROPERTY

        static final java.lang.String INFO_PROPERTY
        The info bound property.
      • INFO_CONTENT_TYPE_PROPERTY

        static final java.lang.String INFO_CONTENT_TYPE_PROPERTY
        The info content type bound property.
    • Method Detail

      • getDescription

        java.lang.String getDescription()
        Returns:
        The description text, such as might appear in a flyover, or null if there is no description.
      • setDescription

        void setDescription​(java.lang.String newDescription)
        Sets the description text, such as might appear in a flyover. This is a bound property.
        Parameters:
        newDescription - The new text of the description, such as might appear in a flyover.
        See Also:
        DESCRIPTION_PROPERTY
      • getDescriptionContentType

        com.globalmentor.net.ContentType getDescriptionContentType()
        Returns:
        The content type of the description text.
      • setDescriptionContentType

        void setDescriptionContentType​(com.globalmentor.net.ContentType newDescriptionContentType)
        Sets the content type of the description text. This is a bound property.
        Parameters:
        newDescriptionContentType - The new description text content type.
        Throws:
        java.lang.NullPointerException - if the given content type is null.
        java.lang.IllegalArgumentException - if the given content type is not a text content type.
        See Also:
        DESCRIPTION_CONTENT_TYPE_PROPERTY
      • getInfo

        java.lang.String getInfo()
        Returns:
        The advisory information text, such as might appear in a tooltip, or null if there is no advisory information.
      • setInfo

        void setInfo​(java.lang.String newInfo)
        Sets the advisory information text, such as might appear in a tooltip. This is a bound property.
        Parameters:
        newInfo - The new text of the advisory information, such as might appear in a tooltip.
        See Also:
        INFO_PROPERTY
      • getInfoContentType

        com.globalmentor.net.ContentType getInfoContentType()
        Returns:
        The content type of the advisory information text.
      • setInfoContentType

        void setInfoContentType​(com.globalmentor.net.ContentType newInfoContentType)
        Sets the content type of the advisory information text. This is a bound property.
        Parameters:
        newInfoContentType - The new advisory information text content type.
        Throws:
        java.lang.NullPointerException - if the given content type is null.
        java.lang.IllegalArgumentException - if the given content type is not a text content type.
        See Also:
        INFO_CONTENT_TYPE_PROPERTY