Class StatusBar


  • public final class StatusBar
    extends Section
    A single-row text bar, reverse-video by default, for hints and status.
    • Constructor Detail

      • StatusBar

        public StatusBar​(java.lang.String text)
        Creates a status bar with the given text.
        Parameters:
        text - the bar text; treated as empty if null
    • Method Detail

      • setText

        public StatusBar setText​(java.lang.String text)
        Sets the bar text.
        Parameters:
        text - the new text; treated as empty if null
        Returns:
        this StatusBar for chaining
      • style

        public StatusBar style​(Style style)
        Sets the bar style.
        Parameters:
        style - the style
        Returns:
        this StatusBar for chaining