cz.cuni.jagrlib.gui.comp
Class MultiLineToolTipUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ToolTipUI
          extended by cz.cuni.jagrlib.gui.comp.MultiLineToolTipUI

public class MultiLineToolTipUI
extends ToolTipUI

Multi-line tooltips.

Version:
0.26 $Rev: 563 $ $Date: 2007-10-19 00:41:35 +0200 (pá, 19 X 2007) $ $Author: pepca $
Author:
JALT, PE

Method Summary
static ComponentUI createUI(JComponent c)
           
 String getAcceleratorString(JToolTip tip)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
static void initialize()
           
 void installUI(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
static void setDisplayAcceleratorKey(boolean val)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initialize

public static void initialize()

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

setDisplayAcceleratorKey

public static void setDisplayAcceleratorKey(boolean val)

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class ComponentUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class ComponentUI

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class ComponentUI

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class ComponentUI

getAcceleratorString

public String getAcceleratorString(JToolTip tip)