public class MetalSeparatorUI extends javax.swing.plaf.basic.BasicSeparatorUI
JSeparator component.| Constructor and Description |
|---|
MetalSeparatorUI()
Constructs a new instance of
MetalSeparatorUI. |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent component)
Returns a shared instance of
MetalSeparatorUI. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
The separator is made of two lines.
|
getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUIpublic MetalSeparatorUI()
MetalSeparatorUI.public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
MetalSeparatorUI.component - the component for which we return an UI instanceMetalSeparatorUI.public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint in class javax.swing.plaf.basic.BasicSeparatorUIg - The Graphics object to paint withc - The JComponent to paint.