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
-
public class BasicHyperlinkUI extends javax.swing.plaf.basic.BasicButtonUIBasic implementation of theJXHyperlinkUI.
This is copied from org.jdesktop.jdnc.plaf.basic.BasicLinkButtonUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classBasicHyperlinkUI.BasicHyperlinkListenerA BasicButtonListener specialized to the needs of a Hyperlink.
-
Constructor Summary
Constructors Constructor and Description BasicHyperlinkUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancontains(javax.swing.JComponent c, int x, int y)static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)voidpaint(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
-
-
-
-
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:
paintin classjavax.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:
containsin classjavax.swing.plaf.ComponentUI
-
-
DataMelt 3.0 © DataMelt by jWork.ORG