public class WebToolTipUI extends javax.swing.plaf.basic.BasicToolTipUI implements ShapeProvider, BorderMethods
| Constructor and Description |
|---|
WebToolTipUI() |
| Modifier and Type | Method and Description |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns an instance of the WebToolTipUI for the specified component.
|
void |
installUI(javax.swing.JComponent c)
Installs UI in the specified component.
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints tooltip.
|
java.awt.Shape |
provideShape()
Returns component shape.
|
void |
uninstallUI(javax.swing.JComponent c)
Uninstalls UI from the specified component.
|
void |
updateBorder()
Updates custom WebLaF border.
|
getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, uninstallDefaults, uninstallListenerspublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - component that will use UI instancepublic void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicToolTipUIc - component for this UIpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.basic.BasicToolTipUIc - component with this UIpublic java.awt.Shape provideShape()
provideShape in interface ShapeProviderpublic void updateBorder()
updateBorder in interface BorderMethodspublic void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.basic.BasicToolTipUIg - graphicsc - component