javax.swing.plaf.basic
public class BasicToolTipUI extends ToolTipUI
Constructor Summary | |
---|---|
BasicToolTipUI()
Creates a new BasicToolTipUI object. |
Method Summary | |
---|---|
static ComponentUI | createUI(JComponent c)
This method creates a new BasicToolTip UI for the given
JComponent.
|
Dimension | getMaximumSize(JComponent c)
This method returns the msximum size of the given JComponent.
|
Dimension | getMinimumSize(JComponent c)
This method returns the minimum size of the given JComponent.
|
Dimension | getPreferredSize(JComponent c)
This method returns the preferred size of the given JComponent.
|
protected void | installDefaults(JComponent c)
This method installs the defaults for the given JComponent.
|
protected void | installListeners(JComponent c)
This method installs the listeners for the given JComponent.
|
void | installUI(JComponent c)
This method installs the UI for the given JComponent.
|
void | paint(Graphics g, JComponent c)
This method paints the given JComponent with the given Graphics object.
|
protected void | uninstallDefaults(JComponent c)
This method uninstalls the defaults for the given JComponent.
|
protected void | uninstallListeners(JComponent c)
This method uninstalls listeners for the given JComponent.
|
void | uninstallUI(JComponent c)
This method uninstalls the UI for the given JComponent.
|
Parameters: c The JComponent to create a UI for.
Returns: A BasicToolTipUI that can be used by the given JComponent.
Parameters: c The JComponent to find a maximum size for.
Returns: The maximum size.
Parameters: c The JComponent to find a minimum size for.
Returns: The minimum size.
Parameters: c The JComponent to find a preferred size for.
Returns: The preferred size.
Parameters: c The JComponent to install defaults for.
Parameters: c The JComponent to install listeners for.
Parameters: c The JComponent to install the UI for.
Parameters: g The Graphics object to paint with. c The JComponent to paint.
Parameters: c The JComponent to uninstall defaults for.
Parameters: c The JComponent to uninstall listeners for.
Parameters: c The JComponent to uninstall.