javax.swing.plaf.basic
public class BasicPopupMenuSeparatorUI extends BasicSeparatorUI
| Constructor Summary | |
|---|---|
| BasicPopupMenuSeparatorUI()
Creates a new BasicPopupMenuSeparatorUI object. | |
| Method Summary | |
|---|---|
| static ComponentUI | createUI(JComponent c)
Creates a new UI delegate for the given JComponent.
|
| Dimension | getPreferredSize(JComponent c)
This method returns the preferred size of the
JComponent.
|
| void | paint(Graphics g, JComponent c)
The Popup Menu Separator has two lines. |
Parameters: c The JComponent to create a delegate for.
Returns: A new BasicPopupMenuSeparatorUI
Parameters: c The JComponent to measure.
Returns: The preferred size.
Parameters: g The Graphics object to paint with c The JComponent to paint.