org.jdesktop.swingx.plaf.basic
Class BasicHyperlinkUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
- Direct Known Subclasses:
- WindowsHyperlinkUI
public class BasicHyperlinkUI
- extends BasicButtonUI
Basic implementation of the JXHyperlink
UI.
This is copied from org.jdesktop.jdnc.plaf.basic.BasicLinkButtonUI
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installUI, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dashedRectGapX
protected int dashedRectGapX
dashedRectGapY
protected int dashedRectGapY
dashedRectGapWidth
protected int dashedRectGapWidth
dashedRectGapHeight
protected int dashedRectGapHeight
BasicHyperlinkUI
public BasicHyperlinkUI()
createUI
public static ComponentUI createUI(JComponent c)
installDefaults
protected void installDefaults(AbstractButton b)
- Overrides:
installDefaults
in class BasicButtonUI
installListeners
protected void installListeners(AbstractButton b)
- Overrides:
installListeners
in class BasicButtonUI
uninstallListeners
protected void uninstallListeners(AbstractButton b)
- Overrides:
uninstallListeners
in class BasicButtonUI
getFocusColor
protected Color getFocusColor()
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
paint
in class BasicButtonUI
paintText
protected void paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
- Overrides:
paintText
in class BasicButtonUI
paintFocus
protected void paintFocus(Graphics g,
AbstractButton b,
Rectangle viewRect,
Rectangle textRect,
Rectangle iconRect)
- Overrides:
paintFocus
in class BasicButtonUI
paintButtonPressed
protected void paintButtonPressed(Graphics g,
AbstractButton b)
- Overrides:
paintButtonPressed
in class BasicButtonUI