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

public Class SynthRadioButtonUI

extends SynthToggleButtonUI
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.synth.SynthCheckBoxUI
Imports
java.awt.*, javax.swing.*, javax.swing.plaf.*

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

Constructor Summary

AccessConstructor and Description
public
SynthRadioButtonUI()

Constructs a SynthRadioButtonUI.

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.SynthToggleButtonUI.createUI.

Creates a new UI object for the given component.

protected String
protected Icon
getSizingIcon(AbstractButton b)

Overrides javax.swing.plaf.synth.SynthButtonUI.getSizingIcon.

Returns the Icon used in calculating the preferred/minimum/maximum size.

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

Overrides javax.swing.plaf.synth.SynthToggleButtonUI.paintBorder.

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

Paints the border.

Constructor Detail

SynthRadioButtonUIback to summary
public SynthRadioButtonUI()

Constructs a SynthRadioButtonUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent b)

Hides javax.swing.plaf.synth.SynthToggleButtonUI.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.SynthToggleButtonUI.getPropertyPrefix.

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

Returns the property prefix.

Annotations
@Override
getSizingIconback to summary
protected Icon getSizingIcon(AbstractButton b)

Overrides javax.swing.plaf.synth.SynthButtonUI.getSizingIcon.

Returns the Icon used in calculating the preferred/minimum/maximum size.

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

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

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

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

Paints the border.

Annotations
@Override