public class WindowsStatusBarUI extends BasicStatusBarUI
AUTO_ADD_SEPARATOR, mouseListener, mouseMotionListener, propertyChangeListener, statusBar
Constructor | Description |
---|---|
WindowsStatusBarUI() |
Creates a new instance of WindowsStatusBarUI
|
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI(JComponent c) |
Returns an instance of the UI delegate for the specified component.
|
protected Insets |
getSeparatorInsets(Insets insets) |
|
protected void |
paintBackground(Graphics2D g,
JXStatusBar statusBar) |
createBorder, createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorWidth, includeSeparators, installDefaults, installListeners, installUI, paint, paintSeparator, uninstallDefaults, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
public WindowsStatusBarUI()
public static ComponentUI createUI(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(Graphics2D g, JXStatusBar statusBar)
paintBackground
in class BasicStatusBarUI
protected Insets getSeparatorInsets(Insets insets)
getSeparatorInsets
in class BasicStatusBarUI
Copyright © 2018. All rights reserved.