public class SynthToggleButtonUI extends SynthButtonUI
JToggleButton.defaultTextIconGap, defaultTextShiftOffsetDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| Constructor and Description |
|---|
SynthToggleButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent b)
Creates a new UI object for the given component.
|
protected String |
getPropertyPrefix() |
void |
paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border.
|
getBaseline, getContext, getDefaultIcon, getIcon, getMaximumSize, getMinimumSize, getPreferredSize, getSizingIcon, installDefaults, installListeners, paint, paint, propertyChange, uninstallDefaults, uninstallListeners, updateclearTextShiftOffset, createButtonListener, getBaselineResizeBehavior, getDefaultTextIconGap, getTextShiftOffset, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUI createUI(JComponent b)
b - component to create UI object forprotected String getPropertyPrefix()
getPropertyPrefix in class BasicButtonUIpublic void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
paintBorder in interface SynthUIpaintBorder in class SynthButtonUIcontext - a component contextg - Graphics to paint onx - the X coordinatey - the Y coordinatew - width of the borderh - height of the borderGenerated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.