Class InfranetStatusBar

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class InfranetStatusBar extends StatusBar
Creates the status bar adding (infranet) connect panel to the default message invalid input: '&' progress panels in the super class. Connect panel has a connect/disconnect icon, with a tooltip showing either "Offline" or the Portal connection info Note: Default connect status is "off"
See Also:
  • Constructor Details

    • InfranetStatusBar

      public InfranetStatusBar()
      Builds a status bar with a message area and a "connect-status" panel
    • InfranetStatusBar

      public InfranetStatusBar(boolean displayProgress)
      Builds a status bar with a message area, a "connect-status" panel and optionally a "progress-status" area with a progress bar, progress text and a progress cancel button.
    • InfranetStatusBar

      public InfranetStatusBar(boolean showProgressText, boolean showProgressCancel)
      Builds a status bar with a message area, a "connect-status" panel and optionally a "progress-status" area with a progress bar and optionally a progress text and a progress cancel button.
  • Method Details

    • setConnectStatus

      public void setConnectStatus(boolean on, PortalContext ctx)
      Set the status of the connection to newStatus.
      Parameters:
      on - Whether to show the app as being connected or not.
      ctx - PortalContext to show as being connected to; If "on" is set to false, then this param is ignored
    • setConnectTooltip

      public void setConnectTooltip(String tooltip)
      Set the tooltip of the connection icon. Use this to override the default tooltip set by setConnectStatus
      Parameters:
      tooltip - The tooltip to display.