Uses of Class
javax.swing.AbstractButton
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
-
Uses of AbstractButton in javax.swing
Modifier and TypeClassDescriptionclass
An implementation of a "push" button.class
An implementation of a check box -- an item that can be selected or deselected, and which displays its state to the user.class
A menu item that can be selected or deselected.class
An implementation of a menu -- a popup window containingJMenuItem
s that is displayed when the user selects an item on theJMenuBar
.class
An implementation of an item in a menu.class
An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.class
An implementation of a radio button menu item.class
An implementation of a two-state button.Modifier and TypeFieldDescriptionprotected Vector
<AbstractButton> ButtonGroup.buttons
The list of buttons participating in this group.Modifier and TypeMethodDescriptionButtonGroup.getElements()
Returns all the buttons that are participating in this group.Modifier and TypeMethodDescriptionvoid
ButtonGroup.add
(AbstractButton b) Adds the button to the group.void
ButtonGroup.remove
(AbstractButton b) Removes the button from the group. -
Uses of AbstractButton in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
JButton object that draws a scaled Arrow in one of the cardinal directions.Modifier and TypeMethodDescriptionprotected void
BasicButtonListener.checkOpacity
(AbstractButton b) Checks the opacity of theAbstractButton
.protected BasicButtonListener
BasicButtonUI.createButtonListener
(AbstractButton b) Returns a new instance ofBasicButtonListener
.int
BasicButtonUI.getDefaultTextIconGap
(AbstractButton b) Returns the default gap between a text and an icon.protected Border
BasicToolBarUI.getNonRolloverBorder
(AbstractButton b) Returns a non-rollover border for the button.static Dimension
BasicGraphicsUtils.getPreferredButtonSize
(AbstractButton b, int textIconGap) Returns the preferred size of the button.protected Border
BasicToolBarUI.getRolloverBorder
(AbstractButton b) Returns a rollover border for the button.protected void
BasicButtonUI.installDefaults
(AbstractButton b) Installs default properties.protected void
BasicButtonUI.installKeyboardActions
(AbstractButton b) Registers keyboard actions.protected void
BasicButtonUI.installListeners
(AbstractButton b) Registers listeners.protected void
BasicButtonUI.paintButtonPressed
(Graphics g, AbstractButton b) Paints a pressed button.protected void
BasicButtonUI.paintFocus
(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) Paints a focused button.protected void
BasicToggleButtonUI.paintIcon
(Graphics g, AbstractButton b, Rectangle iconRect) Paints an icon in the specified location.protected void
BasicButtonUI.paintText
(Graphics g, AbstractButton b, Rectangle textRect, String text) Method which renders the text of the current button.protected void
BasicButtonUI.uninstallDefaults
(AbstractButton b) Uninstalls default properties.protected void
BasicButtonUI.uninstallKeyboardActions
(AbstractButton b) Unregisters keyboard actions.protected void
BasicButtonUI.uninstallListeners
(AbstractButton b) Unregisters listeners.ModifierConstructorDescriptionConstructs a new instance ofBasicButtonListener
. -
Uses of AbstractButton in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
JButton subclass to help out MetalComboBoxUIclass
JButton object for Metal scrollbar arrows.Modifier and TypeMethodDescriptionvoid
MetalButtonUI.installDefaults
(AbstractButton b) void
MetalRadioButtonUI.installDefaults
(AbstractButton b) void
MetalToggleButtonUI.installDefaults
(AbstractButton b) protected void
MetalToggleButtonUI.paintIcon
(Graphics g, AbstractButton b, Rectangle iconRect) Paints the appropriate icon of the buttonb
in the spaceiconRect
.void
MetalButtonUI.uninstallDefaults
(AbstractButton b) -
Uses of AbstractButton in javax.swing.plaf.synth
Modifier and TypeMethodDescriptionprotected Icon
SynthButtonUI.getDefaultIcon
(AbstractButton b) Returns the default icon.protected Icon
SynthButtonUI.getIcon
(AbstractButton b) Returns the Icon to use for painting the button.protected Icon
SynthButtonUI.getSizingIcon
(AbstractButton b) Returns the Icon used in calculating the preferred/minimum/maximum size.protected Icon
SynthRadioButtonUI.getSizingIcon
(AbstractButton b) Returns the Icon used in calculating the preferred/minimum/maximum size.