org.jdesktop.swingx.plaf.windows
Class WindowsHyperlinkUI

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
                  extended by org.jdesktop.swingx.plaf.windows.WindowsHyperlinkUI

Deprecated. pre-0.9.4 PENDING JW: why is this deprecated? What to use instead? kgs: clearly installDefaults can go away, but I distinctly recall that setTextShiftOffset was at one point uncommented in parent, leaving no differences with child. That is no longer the case.

@Deprecated
public class WindowsHyperlinkUI
extends BasicHyperlinkUI

Extends BasicHyperlinkUI and paints the text with an offset when mouse pressed.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
BasicHyperlinkUI.BasicHyperlinkListener
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
WindowsHyperlinkUI()
          Deprecated.  
 
Method Summary
static ComponentUI createUI(JComponent c)
          Deprecated.  
protected  void installDefaults(AbstractButton b)
          Deprecated. 
protected  void paintButtonPressed(Graphics g, AbstractButton b)
          Deprecated. 
 
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
contains, createButtonListener, getFocusColor, getIconTextRect, installListeners, paint, paintFocus, paintHTMLText, paintText, uninstallListeners
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installUI, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsHyperlinkUI

public WindowsHyperlinkUI()
Deprecated. 
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Deprecated. 

paintButtonPressed

protected void paintButtonPressed(Graphics g,
                                  AbstractButton b)
Deprecated. 

Overrides:
paintButtonPressed in class BasicHyperlinkUI

installDefaults

protected void installDefaults(AbstractButton b)
Deprecated. 

Overrides:
installDefaults in class BasicHyperlinkUI