org.knime.base.node.mine.sota.view
Class MultiLineToolTipUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ToolTipUI
          extended by javax.swing.plaf.basic.BasicToolTipUI
              extended by org.knime.base.node.mine.sota.view.MultiLineToolTipUI

 class MultiLineToolTipUI
extends BasicToolTipUI

Author:
Kilian Thiel, University of Konstanz

Constructor Summary
MultiLineToolTipUI()
          Creates new instance of MultiLineToolTipUI.
 
Method Summary
static ComponentUI createUI(JComponent c)
          Creates the UI component.
 Dimension getMaximumSize(JComponent c)
          
 Dimension getMinimumSize(JComponent c)
          
 Dimension getPreferredSize(JComponent c)
          
 void installUI(JComponent c)
          
 void paint(Graphics g, JComponent c)
          
 void uninstallUI(JComponent c)
          
 
Methods inherited from class javax.swing.plaf.basic.BasicToolTipUI
installDefaults, installListeners, uninstallDefaults, uninstallListeners
 
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
 

Constructor Detail

MultiLineToolTipUI

public MultiLineToolTipUI()
Creates new instance of MultiLineToolTipUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Creates the UI component.

Parameters:
c - A JComponent.
Returns:
The sharde instance of the UI component.

installUI

public void installUI(JComponent c)

Overrides:
installUI in class BasicToolTipUI

uninstallUI

public void uninstallUI(JComponent c)

Overrides:
uninstallUI in class BasicToolTipUI

paint

public void paint(Graphics g,
                  JComponent c)

Overrides:
paint in class BasicToolTipUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)

Overrides:
getPreferredSize in class BasicToolTipUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)

Overrides:
getMinimumSize in class BasicToolTipUI

getMaximumSize

public Dimension getMaximumSize(JComponent c)

Overrides:
getMaximumSize in class BasicToolTipUI


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.