public class BasicPopupMenuSeparatorUI extends BasicSeparatorUI
highlight, shadow| Constructor and Description |
|---|
BasicPopupMenuSeparatorUI()
Creates a new BasicPopupMenuSeparatorUI object.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates a new UI delegate for the given JComponent.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
This method returns the preferred size of the
JComponent.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
The Popup Menu Separator has two lines.
|
getMaximumSize, getMinimumSize, installDefaults, installListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUIpublic BasicPopupMenuSeparatorUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - The JComponent to create a delegate for.public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint in class BasicSeparatorUIg - The Graphics object to paint withc - The JComponent to paint.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class BasicSeparatorUIc - The JComponent to measure.