TransitionAwareUI
public class SubstanceCheckBoxUI extends SubstanceRadioButtonUI
defaultTextIconGap, defaultTextShiftOffset
icon
button, stateTransitionTracker, substancePropertyListener
Constructor | Description |
---|---|
SubstanceCheckBoxUI(JToggleButton button) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected BasicButtonListener |
createButtonListener(AbstractButton b) |
|
static ComponentUI |
createUI(JComponent comp) |
|
Icon |
getDefaultIcon() |
|
static String |
getMemoryUsage() |
Returns memory usage string.
|
protected String |
getPropertyPrefix() |
|
protected void |
installDefaults(AbstractButton b) |
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
getPreferredSize, paintFocus, uninstallDefaults
getTextShiftOffset, paintIcon
contains, getAccessibleChild, getAccessibleChildrenCount, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransitionTracker, installListeners, isInside, paint, paintButtonText, uninstallListeners
public SubstanceCheckBoxUI(JToggleButton button)
button
- The associated button.public static ComponentUI createUI(JComponent comp)
protected String getPropertyPrefix()
getPropertyPrefix
in class BasicRadioButtonUI
protected void installDefaults(AbstractButton b)
installDefaults
in class SubstanceRadioButtonUI
protected BasicButtonListener createButtonListener(AbstractButton b)
createButtonListener
in class SubstanceRadioButtonUI
public Icon getDefaultIcon()
getDefaultIcon
in class SubstanceRadioButtonUI
public static String getMemoryUsage()