|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ToolTipUI
javax.swing.plaf.basic.BasicToolTipUI
public class BasicToolTipUI
This is the Basic Look and Feel UI class for JToolTip.
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. |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicToolTipUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent c)
c
- The JComponent to create a UI for.
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class ComponentUI
c
- The JComponent to find a maximum size for.
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI
c
- The JComponent to find a minimum size for.
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
c
- The JComponent to find a preferred size for.
protected void installDefaults(JComponent c)
c
- The JComponent to install defaults for.protected void installListeners(JComponent c)
c
- The JComponent to install listeners for.public void installUI(JComponent c)
installUI
in class ComponentUI
c
- The JComponent to install the UI for.ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
g
- The Graphics object to paint with.c
- The JComponent to paint.protected void uninstallDefaults(JComponent c)
c
- The JComponent to uninstall defaults for.protected void uninstallListeners(JComponent c)
c
- The JComponent to uninstall listeners for.public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
c
- The JComponent to uninstall.ComponentUI.installUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |