public class StickyButtonUI<B extends javax.swing.AbstractButton>
extends javax.swing.plaf.basic.BasicToggleButtonUI
Constructor and Description |
---|
StickyButtonUI() |
Modifier and Type | Method and Description |
---|---|
protected int |
getArcSize() |
protected java.awt.Color |
getBackgroundColor(B button) |
protected java.awt.Color |
getFocusColor(B button) |
protected java.awt.Color |
getRolloverColor(B button) |
protected java.awt.Color |
getSelectionColor(B button) |
protected java.awt.Color |
getUnfocusedBorderColor(B button) |
protected void |
installDefaults(javax.swing.AbstractButton b) |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
createUI, getPropertyPrefix, getTextShiftOffset, paintIcon
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
protected void installDefaults(javax.swing.AbstractButton b)
installDefaults
in class javax.swing.plaf.basic.BasicButtonUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.basic.BasicToggleButtonUI
protected java.awt.Color getUnfocusedBorderColor(B button)
protected java.awt.Color getFocusColor(B button)
protected java.awt.Color getSelectionColor(B button)
protected java.awt.Color getRolloverColor(B button)
protected java.awt.Color getBackgroundColor(B button)
protected int getArcSize()