public class WindowsClassicStatusBarUI extends BasicStatusBarUI
AUTO_ADD_SEPARATOR, mouseListener, mouseMotionListener, propertyChangeListener, statusBar
Constructor | Description |
---|---|
WindowsClassicStatusBarUI() |
Creates a new instance of BasicStatusBarUI
|
Modifier and Type | Method | Description |
---|---|---|
protected javax.swing.plaf.BorderUIResource |
createBorder() |
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
Returns an instance of the UI delegate for the specified component.
|
protected int |
getSeparatorWidth() |
|
protected void |
paintBackground(java.awt.Graphics2D g,
JXStatusBar bar) |
|
protected void |
paintSeparator(java.awt.Graphics2D g,
JXStatusBar bar,
int x,
int y,
int w,
int h) |
createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorInsets, includeSeparators, installDefaults, installListeners, installUI, paint, uninstallDefaults, uninstallListeners, uninstallUI
public WindowsClassicStatusBarUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
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.protected void paintBackground(java.awt.Graphics2D g, JXStatusBar bar)
paintBackground
in class BasicStatusBarUI
protected void paintSeparator(java.awt.Graphics2D g, JXStatusBar bar, int x, int y, int w, int h)
paintSeparator
in class BasicStatusBarUI
protected int getSeparatorWidth()
getSeparatorWidth
in class BasicStatusBarUI
protected javax.swing.plaf.BorderUIResource createBorder()
createBorder
in class BasicStatusBarUI