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 javax.swing.plaf.basic.BasicButtonUI
Basic implementation of the JXHyperlink
UI.
This is copied from org.jdesktop.jdnc.plaf.basic.BasicLinkButtonUI
Method Summary |
boolean |
contains(javax.swing.JComponent c,
int x,
int y)
Overridden to return true if the position is inside the union of the
text and icon rectangle, false otherwise. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, installUI, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicHyperlinkUI
public BasicHyperlinkUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.basic.BasicButtonUI
contains
public boolean contains(javax.swing.JComponent c,
int x,
int y)
-
Overridden to return true if the position is inside the union of the
text and icon rectangle, false otherwise.
- Overrides:
contains
in class javax.swing.plaf.ComponentUI