org.jdesktop.swingx.plaf.basic
Class BasicHyperlinkUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by 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


Nested Class Summary
static class BasicHyperlinkUI.BasicHyperlinkListener
          A BasicButtonListener specialized to the needs of a Hyperlink.
 
Constructor Summary
BasicHyperlinkUI()
           
 
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
 

Constructor Detail

BasicHyperlinkUI

public BasicHyperlinkUI()
Method Detail

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