Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
Modifier and Type | Field | Description |
---|---|---|
protected 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 Type | Method | Description |
---|---|---|
JButton |
JToolBar.add(Action a) |
Adds a new
JButton which dispatches the action. |
protected JButton |
JToolBar.createActionComponent(Action a) |
Factory method which creates the
JButton for
Action s added to the JToolBar . |
JButton |
JRootPane.getDefaultButton() |
Returns the value of the
defaultButton property. |
Modifier and Type | Method | Description |
---|---|---|
protected PropertyChangeListener |
JToolBar.createActionChangeListener(JButton b) |
Returns a properly configured
PropertyChangeListener
which updates the control as changes to the Action occur,
or null if the default
property change listener for the control is desired. |
void |
JRootPane.setDefaultButton(JButton defaultButton) |
Sets the
defaultButton property,
which determines the current default button for this JRootPane . |
Modifier and Type | Method | Description |
---|---|---|
JButton |
FileChooserUI.getDefaultButton(JFileChooser fc) |
Returns default button for current
LookAndFeel . |
Modifier and Type | Class | Description |
---|---|---|
class |
BasicArrowButton |
JButton object that draws a scaled Arrow in one of the cardinal directions.
|
Modifier and Type | Field | Description |
---|---|---|
protected JButton |
BasicComboBoxUI.arrowButton |
The arrow button that invokes the popup.
|
protected JButton |
BasicInternalFrameTitlePane.closeButton |
The close button.
|
protected JButton |
BasicScrollBarUI.decrButton |
Decrement button
|
protected JButton |
BasicInternalFrameTitlePane.iconButton |
The iconify button.
|
protected JButton |
BasicScrollBarUI.incrButton |
Increment button
|
protected 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 Type | Method | Description |
---|---|---|
protected 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 of
JButton that can be used to
collapse the left component in the split pane. |
protected JButton |
BasicSplitPaneDivider.createRightOneTouchButton() |
Creates and return an instance of
JButton 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.
|
JButton |
BasicFileChooserUI.getDefaultButton(JFileChooser fc) |
Returns default button for current
LookAndFeel . |
Modifier and Type | Class | Description |
---|---|---|
class |
MetalComboBoxButton |
JButton subclass to help out MetalComboBoxUI
|
class |
MetalScrollButton |
JButton object for Metal scrollbar arrows.
|
Modifier and Type | Method | Description |
---|---|---|
protected JButton |
MetalComboBoxUI.createArrowButton() |
|
protected 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.
|
protected JButton |
MetalFileChooserUI.getApproveButton(JFileChooser fc) |
Modifier and Type | Method | Description |
---|---|---|
protected JButton |
SynthComboBoxUI.createArrowButton() |
Creates a button which will be used as the control to show or hide
the popup portion of the combo box.
|
protected JButton |
SynthScrollBarUI.createDecreaseButton(int orientation) |
Creates a decrease button.
|
protected JButton |
SynthScrollBarUI.createIncreaseButton(int orientation) |
Creates an increase button.
|
protected JButton |
SynthTabbedPaneUI.createScrollButton(int direction) |
Creates and returns a JButton that will provide the user
with a way to scroll the tabs in a particular direction.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps