Package com.formdev.flatlaf.swingx.ui
Class FlatHyperlinkUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
-
- com.formdev.flatlaf.swingx.ui.FlatHyperlinkUI
-
public class FlatHyperlinkUI extends org.jdesktop.swingx.plaf.basic.BasicHyperlinkUIProvides the Flat LaF UI delegate forJXHyperlink.- UiDefault:
- Hyperlink.disabledText Color
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classFlatHyperlinkUI.FlatHyperlinkListener
-
Field Summary
Fields Modifier and Type Field Description protected ColordisabledText-
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
Constructors Constructor Description FlatHyperlinkUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BasicButtonListenercreateButtonListener(AbstractButton b)static ComponentUIcreateUI(JComponent c)protected voidinstallDefaults(AbstractButton b)protected voidpaintText(Graphics g, AbstractButton b, Rectangle textRect, String text)protected voiduninstallDefaults(AbstractButton b)-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
contains, getFocusColor, getIconTextRect, installListeners, paint, paintButtonPressed, paintFocus, paintHTMLText, uninstallListeners
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
getAccessibleChild, getAccessibleChildrenCount, update
-
-
-
-
Field Detail
-
disabledText
protected Color disabledText
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installDefaults
protected void installDefaults(AbstractButton b)
- Overrides:
installDefaultsin classorg.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
-
uninstallDefaults
protected void uninstallDefaults(AbstractButton b)
- Overrides:
uninstallDefaultsin classBasicButtonUI
-
createButtonListener
protected BasicButtonListener createButtonListener(AbstractButton b)
- Overrides:
createButtonListenerin classorg.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
-
paintText
protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text)
- Overrides:
paintTextin classorg.jdesktop.swingx.plaf.basic.BasicHyperlinkUI
-
-