Extension SDK 10.1.2

oracle.ide.controls
Class ToolButtonUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ButtonUI
          extended byjavax.swing.plaf.basic.BasicButtonUI
              extended byoracle.ide.controls.ToolButtonUI

public class ToolButtonUI
extends javax.swing.plaf.basic.BasicButtonUI

ToolButtonUI...

See Also:
ToolButton

Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
ToolButtonUI()
           
 
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
 

Constructor Detail

ToolButtonUI

public ToolButtonUI()
Method Detail

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)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.