Class TextItem


  • public class TextItem
    extends java.lang.Object
    Rich positional text that is usually presented as a collection of bullet points.
    • Constructor Detail

      • TextItem

        public TextItem()
    • Method Detail

      • position

        public TextItem position​(java.lang.Integer position)
      • getPosition

        public java.lang.Integer getPosition()
        The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection. minimum: 1 maximum: 100
        Returns:
        position
      • setPosition

        public void setPosition​(java.lang.Integer position)
      • getText

        public TextComponent getText()
        Get text
        Returns:
        text
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object