Uses of Class
javax.swing.JButton
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
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.
-
Uses of JButton in javax.swing
Modifier and TypeFieldDescriptionprotected JButton
JRootPane.defaultButton
The button that gets activated when the pane has the focus and a UI-specific action like pressing the Enter key occurs.Modifier and TypeMethodDescriptionAdds a newJButton
which dispatches the action.protected JButton
JToolBar.createActionComponent
(Action a) Factory method which creates theJButton
forAction
s added to theJToolBar
.JRootPane.getDefaultButton()
Returns the value of thedefaultButton
property.Modifier and TypeMethodDescriptionprotected PropertyChangeListener
JToolBar.createActionChangeListener
(JButton b) Returns a properly configuredPropertyChangeListener
which updates the control as changes to theAction
occur, ornull
if the default property change listener for the control is desired.void
JRootPane.setDefaultButton
(JButton defaultButton) Sets thedefaultButton
property, which determines the current default button for thisJRootPane
. -
Uses of JButton in javax.swing.plaf
Modifier and TypeMethodDescriptionFileChooserUI.getDefaultButton
(JFileChooser fc) Returns default button for currentLookAndFeel
. -
Uses of JButton in javax.swing.plaf.basic
Modifier and TypeClassDescriptionclass
JButton object that draws a scaled Arrow in one of the cardinal directions.Modifier and TypeFieldDescriptionprotected JButton
BasicComboBoxUI.arrowButton
The arrow button that invokes the popup.protected JButton
BasicInternalFrameTitlePane.closeButton
The close button.protected JButton
BasicScrollBarUI.decrButton
Decrement buttonprotected JButton
BasicInternalFrameTitlePane.iconButton
The iconify button.protected JButton
BasicScrollBarUI.incrButton
Increment buttonprotected JButton
BasicSplitPaneDivider.leftButton
Button for quickly toggling the left component.protected JButton
BasicInternalFrameTitlePane.maxButton
The maximize button.protected JButton
BasicSplitPaneDivider.rightButton
Button for quickly toggling the right component.Modifier and TypeMethodDescriptionprotected JButton
BasicComboBoxUI.createArrowButton()
Creates a button which will be used as the control to show or hide the popup portion of the combo box.protected JButton
BasicScrollBarUI.createDecreaseButton
(int orientation) Creates a decrease button.protected JButton
BasicScrollBarUI.createIncreaseButton
(int orientation) Creates an increase button.protected JButton
BasicSplitPaneDivider.createLeftOneTouchButton()
Creates and return an instance ofJButton
that can be used to collapse the left component in the split pane.protected JButton
BasicSplitPaneDivider.createRightOneTouchButton()
Creates and return an instance ofJButton
that can be used to collapse the right component in the split pane.protected JButton
BasicTabbedPaneUI.createScrollButton
(int direction) Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction.protected JButton
BasicFileChooserUI.getApproveButton
(JFileChooser fc) Returns the approve button. -
Uses of JButton in javax.swing.plaf.metal
Modifier and TypeClassDescriptionclass
JButton subclass to help out MetalComboBoxUIclass
JButton object for Metal scrollbar arrows.Modifier and TypeMethodDescriptionprotected JButton
MetalScrollBarUI.createDecreaseButton
(int orientation) Returns the view that represents the decrease view.protected JButton
MetalScrollBarUI.createIncreaseButton
(int orientation) Returns the view that represents the increase view.