org.bounce.plaf
Class LinkButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
org.bounce.plaf.BounceButtonUI
org.bounce.plaf.LinkButtonUI
public class LinkButtonUI
- extends BounceButtonUI
LinkButtonUI implementation.
- Version:
- $Revision: 1.5 $, $Date: 2008/01/28 21:28:37 $
- Author:
- Edwin Dankert
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkButtonUI
public LinkButtonUI()
createUI
public static ComponentUI createUI(JComponent c)
- Return this button look and feel.
- Parameters:
c
- the component the look and feel is for, normally a LinkButton.
- Returns:
- the ui for the component.
paintText
protected void paintText(Graphics g,
JComponent c,
Rectangle textRect,
String[] text)
- Paints the text on the button.
- Overrides:
paintText
in class BounceButtonUI
- Parameters:
g
- the graphics.c
- the button component.textRect
- the text rectangle.text
- the text to be painted.
Copyright © 2002-2011 Edwin Dankert. All Rights Reserved.