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
- 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 TypeMethodDescriptionprotected BorderUIResource
create Empty Borderstatic ComponentUI
Returns an instance of the UI delegate for the specified component.protected int
Separator Widthprotected void
paintBackground
(Graphics2D g, JXStatusBar bar) TODO docprotected void
paintSeparator
(Graphics2D g, JXStatusBar bar, int x, int y, int w, int h) Paint a Separator (a simple line).Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorInsets, includeSeparators, installDefaults, installListeners, installUI, paint, uninstallDefaults, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Constructor Details
-
WindowsClassicStatusBarUI
public WindowsClassicStatusBarUI()Creates a new instance of BasicStatusBarUI
-
-
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. -
paintBackground
Description copied from class:BasicStatusBarUI
TODO doc- Overrides:
paintBackground
in classBasicStatusBarUI
- Parameters:
g
- theGraphics
context in which to paintbar
- status bar
-
paintSeparator
Description copied from class:BasicStatusBarUI
Paint a Separator (a simple line).- Overrides:
paintSeparator
in classBasicStatusBarUI
- Parameters:
g
- theGraphics
context in which to paintbar
- status barx
- the x coordinate.y
- the y coordinate.w
- the width of the separator.h
- the height of the separator.
-
getSeparatorWidth
protected int getSeparatorWidth()Description copied from class:BasicStatusBarUI
Separator Width- Overrides:
getSeparatorWidth
in classBasicStatusBarUI
- Returns:
- constant 10
-
createBorder
Description copied from class:BasicStatusBarUI
create Empty Border- Overrides:
createBorder
in classBasicStatusBarUI
- Returns:
- BorderUIResource
-