public class ToolButtonUI
extends javax.swing.plaf.basic.BasicButtonUI
ToolButtonUI
...ToolButton
Constructor and Description |
---|
ToolButtonUI()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearTextShiftOffset()
Deprecated.
|
protected javax.swing.plaf.basic.BasicButtonListener |
createButtonListener(javax.swing.AbstractButton b)
Deprecated.
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Deprecated.
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Deprecated.
|
protected java.lang.String |
getPropertyPrefix()
Deprecated.
|
protected static java.awt.Dimension |
getToolbarButtonPreferredSize(javax.swing.AbstractButton b,
int textIconGap)
Deprecated.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Deprecated.
|
protected void |
paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton b)
Deprecated.
|
protected void |
paintIcon(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle iconRect)
Deprecated.
|
protected void |
paintText(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle textRect,
java.lang.String text)
Deprecated.
|
getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paintFocus, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
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.BasicButtonUI
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton b)
createButtonListener
in class javax.swing.plaf.basic.BasicButtonUI
protected java.lang.String getPropertyPrefix()
getPropertyPrefix
in class javax.swing.plaf.basic.BasicButtonUI
protected void paintButtonPressed(java.awt.Graphics g, javax.swing.AbstractButton b)
paintButtonPressed
in class javax.swing.plaf.basic.BasicButtonUI
protected void paintIcon(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle iconRect)
paintIcon
in class javax.swing.plaf.basic.BasicButtonUI
protected void paintText(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle textRect, java.lang.String text)
paintText
in class javax.swing.plaf.basic.BasicButtonUI
protected void clearTextShiftOffset()
clearTextShiftOffset
in class javax.swing.plaf.basic.BasicButtonUI
protected static java.awt.Dimension getToolbarButtonPreferredSize(javax.swing.AbstractButton b, int textIconGap)