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

public Class SynthCheckBoxUI

extends SynthRadioButtonUI
Class Inheritance
Imports
javax.swing.JComponent, java.awt.Graphics, javax.swing.plaf.ComponentUI

Provides the Synth L&F UI delegate for javax.swing.JCheckBox.
Author
Jeff Dinkins
Since
1.7

Constructor Summary

AccessConstructor and Description
public
SynthCheckBoxUI()

Constructs a SynthCheckBoxUI.

Method Summary

Modifier and TypeMethod and Description
public static ComponentUI

Returns:

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

Hides javax.swing.plaf.synth.SynthRadioButtonUI.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.SynthRadioButtonUI.paintBorder.

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

Paints the border.

Inherited from javax.swing.plaf.synth.SynthRadioButtonUI:
getSizingIcon

Constructor Detail

SynthCheckBoxUIback to summary
public SynthCheckBoxUI()

Constructs a SynthCheckBoxUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent b)

Hides javax.swing.plaf.synth.SynthRadioButtonUI.createUI.

Creates a new UI object for the given component.

Parameters
b:JComponent

component to create UI object for

Returns:ComponentUI

the UI object

getPropertyPrefixback to summary
protected String getPropertyPrefix()

Overrides javax.swing.plaf.synth.SynthRadioButtonUI.getPropertyPrefix.

Doc from javax.swing.plaf.synth.SynthRadioButtonUI.getPropertyPrefix.

Returns the property prefix.

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

Overrides javax.swing.plaf.synth.SynthRadioButtonUI.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.SynthRadioButtonUI.paintBorder.

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

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

Paints the border.

Annotations
@Override