com.rapidminer.gui.tools.components
Interface ToolTipWindow.TipProvider

Enclosing class:
ToolTipWindow

public static interface ToolTipWindow.TipProvider


Method Summary
 java.awt.Component getCustomComponent(java.lang.Object id)
          Returns an additional tooltip component to be added below the text field.
 java.lang.Object getIdUnder(java.awt.Point point)
          Returns an ID of the object under the given mouse position.
 java.lang.String getTip(java.lang.Object id)
          Returns the actual tip belonging to this point.
 

Method Detail

getTip

java.lang.String getTip(java.lang.Object id)
Returns the actual tip belonging to this point. Called after getIdUnder(Point).


getCustomComponent

java.awt.Component getCustomComponent(java.lang.Object id)
Returns an additional tooltip component to be added below the text field.


getIdUnder

java.lang.Object getIdUnder(java.awt.Point point)
Returns an ID of the object under the given mouse position. This is only used to determine whether the mouse has left the area corresponding to the current tool tip. We could have called getTip(Object) directly, however this may be a too time consuming operation. Note: IDs are compared by == !



Copyright © 2001-2009 by Rapid-I