Class JStatusBar

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public final class JStatusBar
    extends JPanel
    Simple status bar with 3 fields.
    See Also:
    Serialized Form

    Module: swing-util-api

    To use this in your app, include the following dependency in your POM:

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>swing-util-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
    • Constructor Detail

      • JStatusBar

        public JStatusBar()
        Creates a new JStatusBar object.
    • Method Detail

      • setLeftLabel

        public void setLeftLabel​(String text)
        Set the left label of this JStatusBar.
        Parameters:
        text - The String to set the left label to.
      • setCenterLabel

        public void setCenterLabel​(String text)
        Set the center label of this JStatusBar.
        Parameters:
        text - The String to set the center label to.
      • setRightLabel

        public void setRightLabel​(String text)
        Set the right label of this JStatusBar.
        Parameters:
        text - The String to set the right label to.