APIdia Launch Partner
Top Description Constructors Methods
javax.swing.plaf.synth

public Class SynthCheckBoxMenuItemUI

extends SynthMenuItemUI
Class Inheritance
Imports
java.awt.*, javax.swing.*, javax.swing.plaf.*

Provides the Synth L&F UI delegate for javax.swing.JCheckBoxMenuItem.
Authors
Leif Samuelsson, Georges Saab, David Karlton, Arnaud Weber
Since
1.7

Constructor Summary

AccessConstructor and Description
public
SynthCheckBoxMenuItemUI()

Constructs a SynthCheckBoxMenuItemUI.

Method Summary

Modifier and TypeMethod and Description
public static ComponentUI

Returns:

the UI object
createUI
(JComponent
component to create UI object for
c
)

Hides javax.swing.plaf.synth.SynthMenuItemUI.createUI.

Creates a new UI object for the given component.

protected String
pack-priv void
public void
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthMenuItemUI.paintBorder.

Implements javax.swing.plaf.synth.SynthUI.paintBorder.

Paints the border.

Inherited from javax.swing.plaf.synth.SynthMenuItemUI:
getContextgetContextgetContextgetPreferredMenuItemSizeinstallDefaultsinstallListenerspaintpaintpropertyChangeuninstallDefaultsuninstallListenersuninstallUIupdate

Constructor Detail

SynthCheckBoxMenuItemUIback to summary
public SynthCheckBoxMenuItemUI()

Constructs a SynthCheckBoxMenuItemUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent c)

Hides javax.swing.plaf.synth.SynthMenuItemUI.createUI.

Creates a new UI object for the given component.

Parameters
c:JComponent

component to create UI object for

Returns:ComponentUI

the UI object

getPropertyPrefixback to summary
protected String getPropertyPrefix()

Overrides javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix.

Doc from javax.swing.plaf.basic.BasicMenuItemUI.getPropertyPrefix.

Returns a property prefix.

Annotations
@Override
paintBackgroundback to summary
pack-priv void paintBackground(SynthContext context, Graphics g, JComponent c)

Overrides javax.swing.plaf.synth.SynthMenuItemUI.paintBackground.

Annotations
@Override
paintBorderback to summary
public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthMenuItemUI.paintBorder.

Implements javax.swing.plaf.synth.SynthUI.paintBorder.

Doc from javax.swing.plaf.synth.SynthMenuItemUI.paintBorder.

Paints the border.

Annotations
@Override