Class MacOSXStatusBarUI


public class MacOSXStatusBarUI extends BasicStatusBarUI
Author:
rbair
  • Constructor Details

    • MacOSXStatusBarUI

      public MacOSXStatusBarUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
      Returns an instance of the UI delegate for the specified component. Each subclass must provide its own static createUI method that returns an instance of that UI delegate subclass. If the UI delegate subclass is stateless, it may return an instance that is shared by multiple components. If the UI delegate is stateful, then it should return a new instance per component. The default implementation of this method throws an error, as it should never be invoked.
    • installDefaults

      protected void installDefaults(JXStatusBar sb)
      only set the border if it is an instanceof UIResource.

      In other words, only replace the border if it has not been set by the developer. UIResource is the flag we use to indicate whether the value was set by the UIDelegate, or by the developer.

      Overrides:
      installDefaults in class BasicStatusBarUI
      Parameters:
      sb - JXStatusBar