org.jdesktop.swingx.plaf.windows
Class WindowsStatusBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.StatusBarUI
org.jdesktop.swingx.plaf.basic.BasicStatusBarUI
org.jdesktop.swingx.plaf.windows.WindowsStatusBarUI
public class WindowsStatusBarUI
- extends BasicStatusBarUI
TODO: Need to add listener to resize handle
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns an instance of the UI delegate for the specified component. |
protected java.awt.Insets |
getSeparatorInsets(java.awt.Insets insets)
|
protected void |
paintBackground(java.awt.Graphics2D g,
JXStatusBar statusBar)
|
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicStatusBarUI |
createBorder, createLayout, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getSeparatorWidth, includeSeparators, installDefaults, installListeners, installUI, paint, paintSeparator, uninstallDefaults, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsStatusBarUI
public WindowsStatusBarUI()
- Creates a new instance of BasicStatusBarUI
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 static
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.
paintBackground
protected void paintBackground(java.awt.Graphics2D g,
JXStatusBar statusBar)
- Overrides:
paintBackground
in class BasicStatusBarUI
getSeparatorInsets
protected java.awt.Insets getSeparatorInsets(java.awt.Insets insets)
- Overrides:
getSeparatorInsets
in class BasicStatusBarUI