Package org.jdesktop.swingx.plaf.macosx
Class MacOSXStatusBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.jdesktop.swingx.plaf.StatusBarUI
org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
org.jdesktop.swingx.plaf.macosx.MacOSXStatusBarUI
- Author:
- rbair
-
Field Summary
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
AUTO_ADD_SEPARATOR, mouseListener, mouseMotionListener, propertyChangeListener, statusBar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Returns an instance of the UI delegate for the specified component.protected void
only set the border if it is an instanceof UIResource.Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
createBorder, createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorInsets, getSeparatorWidth, includeSeparators, installListeners, installUI, paint, paintBackground, paintSeparator, uninstallDefaults, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Constructor Details
-
MacOSXStatusBarUI
public MacOSXStatusBarUI()
-
-
Method Details
-
createUI
Returns an instance of the UI delegate for the specified component. Each subclass must provide its own staticcreateUI
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
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 classBasicStatusBarUI
- Parameters:
sb
- JXStatusBar
-