PropertyChangeListener
, EventListener
, SynthConstants
, SynthUI
SynthRadioButtonUI
public class SynthToggleButtonUI extends SynthButtonUI
JToggleButton
.defaultTextIconGap, defaultTextShiftOffset
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
Constructor | Description |
---|---|
SynthToggleButtonUI() |
Constructs a SynthToggleButtonUI . |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI |
Creates a new UI object for the given component. |
getContext, getDefaultIcon, getIcon, getSizingIcon, paint, paint, paintBorder, propertyChange, update
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, uninstallUI
public SynthToggleButtonUI()
SynthToggleButtonUI
.public static ComponentUI createUI(JComponent b)
b
- component to create UI object for
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/synth/SynthToggleButtonUI.html