org.openbp.swing.plaf.sky
Class SkySeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
javax.swing.plaf.metal.MetalSeparatorUI
org.openbp.swing.plaf.sky.SkySeparatorUI
public class SkySeparatorUI
- extends javax.swing.plaf.metal.MetalSeparatorUI
The default look and feel of a separator.
- Author:
- Jens Ferchland
| Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI |
highlight, shadow |
|
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Create and returns a instance of the UI. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Returns the Preferred Size of a separator |
void |
installUI(javax.swing.JComponent c)
Installs the UI to a JButton. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paint the Component. |
| Methods inherited from class javax.swing.plaf.metal.MetalSeparatorUI |
installDefaults |
| Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI |
getMaximumSize, getMinimumSize, installListeners, uninstallDefaults, uninstallListeners, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkySeparatorUI
public SkySeparatorUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
- Create and returns a instance of the UI.
- Parameters:
c - the Separator
- Returns:
- the
installUI
public void installUI(javax.swing.JComponent c)
- Installs the UI to a JButton. This method sets all Listeners,
which are used to control the button.
- Overrides:
installUI in class javax.swing.plaf.basic.BasicSeparatorUI
- Parameters:
c - a JComponent value
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Paint the Component.
- Overrides:
paint in class javax.swing.plaf.metal.MetalSeparatorUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Returns the Preferred Size of a separator
- Overrides:
getPreferredSize in class javax.swing.plaf.metal.MetalSeparatorUI
Copyright © 2011. All Rights Reserved.