oracle.ide.controls
Class ToolButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
oracle.ide.controls.ToolButtonUI
- public class ToolButtonUI
- extends javax.swing.plaf.basic.BasicButtonUI
ToolButtonUI
...
- See Also:
ToolButton
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
defaultTextIconGap, defaultTextShiftOffset |
Method Summary |
protected void |
clearTextShiftOffset()
|
protected javax.swing.plaf.basic.BasicButtonListener |
createButtonListener(javax.swing.AbstractButton b)
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
protected java.lang.String |
getPropertyPrefix()
|
protected static java.awt.Dimension |
getToolbarButtonPreferredSize(javax.swing.AbstractButton b,
int textIconGap)
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
protected void |
paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton b)
|
protected void |
paintIcon(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle iconRect)
|
protected void |
paintText(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle textRect,
java.lang.String text)
|
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paintFocus, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolButtonUI
public ToolButtonUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
createButtonListener
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton b)
getPropertyPrefix
protected java.lang.String getPropertyPrefix()
paintButtonPressed
protected void paintButtonPressed(java.awt.Graphics g,
javax.swing.AbstractButton b)
paintIcon
protected void paintIcon(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle iconRect)
paintText
protected void paintText(java.awt.Graphics g,
javax.swing.JComponent c,
java.awt.Rectangle textRect,
java.lang.String text)
clearTextShiftOffset
protected void clearTextShiftOffset()
getToolbarButtonPreferredSize
protected static java.awt.Dimension getToolbarButtonPreferredSize(javax.swing.AbstractButton b,
int textIconGap)
Copyright © 1997, 2004, Oracle. All rights reserved.