javax > javax.swing > javax.swing.plaf > javax.swing.plaf.basic > javax.swing.plaf.basic.BasicButtonUI >

Class: javax.swing.plaf.basic.BasicButtonUI
    java.lang.Object
       javax.swing.plaf.ComponentUI
               javax.swing.plaf.ButtonUI
                       javax.swing.plaf.basic.BasicButtonUI


public class BasicButtonUI extends ButtonUI


FIELDS:
protected int defaultTextIconGap
protected int defaultTextShiftOffset

CONSTRUCTORS:
public BasicButtonUI()


METHODS:
protected void clearTextShiftOffset()

protected BasicButtonListener createButtonListener(AbstractButton b)

public static ComponentUI createUI(JComponent c)
Overrides: ComponentUI

public int getBaseline(JComponent c, int width, int height)
Throws: NullPointerException
Throws: IllegalArgumentException
Overrides: ComponentUI

public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)
Throws: NullPointerException
Overrides: ComponentUI

public int getDefaultTextIconGap(AbstractButton b)

public Dimension getMaximumSize(JComponent c)
Overrides: ComponentUI

public Dimension getMinimumSize(JComponent c)
Overrides: ComponentUI

public Dimension getPreferredSize(JComponent c)
Overrides: ComponentUI

protected String getPropertyPrefix()

protected int getTextShiftOffset()

protected void installDefaults(AbstractButton b)

protected void installKeyboardActions(AbstractButton b)

protected void installListeners(AbstractButton b)

public void installUI(JComponent c)
Overrides: ComponentUI

public void paint(Graphics g, JComponent c)
Overrides: ComponentUI

protected void paintButtonPressed(Graphics g, AbstractButton b)

protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect)

protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect)

protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)

protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)

protected void setTextShiftOffset()

protected void uninstallDefaults(AbstractButton b)

protected void uninstallKeyboardActions(AbstractButton b)

protected void uninstallListeners(AbstractButton b)

public void uninstallUI(JComponent c)
Overrides: ComponentUI


INHERITED METHODS:
installUI(javax.swing.JComponent), uninstallUI(javax.swing.JComponent), paint(java.awt.Graphics, javax.swing.JComponent), update(java.awt.Graphics, javax.swing.JComponent), getPreferredSize(javax.swing.JComponent), getMinimumSize(javax.swing.JComponent), getMaximumSize(javax.swing.JComponent), contains(javax.swing.JComponent, int, int), createUI(javax.swing.JComponent), getBaseline(javax.swing.JComponent, int, int), getBaselineResizeBehavior(javax.swing.JComponent), getAccessibleChildrenCount(javax.swing.JComponent), getAccessibleChild(javax.swing.JComponent, int), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:
BasicToggleButtonUI, MetalButtonUI,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net // Twitter