javax.swing.plaf.metal

Class MetalPopupMenuSeparatorUI

public class MetalPopupMenuSeparatorUI extends MetalSeparatorUI

A UI delegate for the {@link JPopupMenu.Separator} component.
Constructor Summary
MetalPopupMenuSeparatorUI()
Constructs a new instance of MetalPopupMenuSeparatorUI.
Method Summary
static ComponentUIcreateUI(JComponent component)
Returns a shared instance of MetalPopupMenuSeparatorUI.

Constructor Detail

MetalPopupMenuSeparatorUI

public MetalPopupMenuSeparatorUI()
Constructs a new instance of MetalPopupMenuSeparatorUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent component)
Returns a shared instance of MetalPopupMenuSeparatorUI.

Parameters: component the component for which we return an UI instance

Returns: A shared instance of MetalPopupMenuSeparatorUI.