Package org.jdesktop.swingx.plaf.windows
Class WindowsClassicStatusBarUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- org.jdesktop.swingx.plaf.StatusBarUI
-
- org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
-
- org.jdesktop.swingx.plaf.windows.WindowsClassicStatusBarUI
-
public class WindowsClassicStatusBarUI extends BasicStatusBarUI
-
-
Field Summary
-
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
AUTO_ADD_SEPARATOR, mouseListener, mouseMotionListener, propertyChangeListener, statusBar
-
-
Constructor Summary
Constructors Constructor Description WindowsClassicStatusBarUI()Creates a new instance of BasicStatusBarUI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.plaf.BorderUIResourcecreateBorder()static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)Returns an instance of the UI delegate for the specified component.protected intgetSeparatorWidth()protected voidpaintBackground(java.awt.Graphics2D g, JXStatusBar bar)protected voidpaintSeparator(java.awt.Graphics2D g, JXStatusBar bar, int x, int y, int w, int h)-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorInsets, includeSeparators, installDefaults, installListeners, installUI, paint, uninstallDefaults, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Returns an instance of the UI delegate for the specified component. Each subclass must provide its own staticcreateUImethod 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.
-
paintBackground
protected void paintBackground(java.awt.Graphics2D g, JXStatusBar bar)- Overrides:
paintBackgroundin classBasicStatusBarUI
-
paintSeparator
protected void paintSeparator(java.awt.Graphics2D g, JXStatusBar bar, int x, int y, int w, int h)- Overrides:
paintSeparatorin classBasicStatusBarUI
-
getSeparatorWidth
protected int getSeparatorWidth()
- Overrides:
getSeparatorWidthin classBasicStatusBarUI
-
createBorder
protected javax.swing.plaf.BorderUIResource createBorder()
- Overrides:
createBorderin classBasicStatusBarUI
-
-