Package games.stendhal.client.gui.styled
Class StyledToolTipUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ToolTipUI
javax.swing.plaf.basic.BasicToolTipUI
games.stendhal.client.gui.styled.StyledToolTipUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent tooltip)
Create a StyledToolTipUI.void
installUI(JComponent tooltip)
void
paint(Graphics g, JComponent tooltip)
Methods inherited from class javax.swing.plaf.basic.BasicToolTipUI
getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, uninstallDefaults, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Constructor Details
-
StyledToolTipUI
Create a new StyledToolTipUI.- Parameters:
style
- pixmap style
-
-
Method Details
-
createUI
Create a StyledToolTipUI. This method is used by the UIManager.- Parameters:
tooltip
-- Returns:
- A shared StyledToolTipUI instance
-
paint
- Overrides:
paint
in classBasicToolTipUI
-
installUI
- Overrides:
installUI
in classBasicToolTipUI
-