public class LinkButtonUI extends BounceButtonUI
defaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
LinkButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c)
Return this button look and feel.
|
protected void |
paintText(Graphics g,
JComponent c,
Rectangle textRect,
String[] text)
Paints the text on the button.
|
createButtonListener, getPreferredSize, paint, paintBackground, paintFocus, paintIconclearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updatepublic static ComponentUI createUI(JComponent c)
c - the component the look and feel is for, normally a LinkButton.protected void paintText(Graphics g, JComponent c, Rectangle textRect, String[] text)
paintText in class BounceButtonUIg - the graphics.c - the button component.textRect - the text rectangle.text - the text to be painted.Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.