tdg
Interface ToolTipCallBack


public interface ToolTipCallBack


Method Summary
 java.lang.String getDynamicToolTip(tdg.TDGMouseState aMouseState, boolean UserOrDeveloper)
          Dynamic callback to produce a tooltip.
 

Method Detail

getDynamicToolTip

public java.lang.String getDynamicToolTip(tdg.TDGMouseState aMouseState,
                                          boolean UserOrDeveloper)
Dynamic callback to produce a tooltip. When this method is called the progammer can should provide a very fast method that returns the proper string for the object in question.
Parameters:
aMouseState - an object of class TDGMouseState which provides all the information about the object for which the tooltip is being generated.
UserOrDeveloper - a simple boolean indicating whether we are in USER or DEVELOPER mode. This allows the programmer to return a different tooltip if they wish under these two scenarios.
Returns:
the tooltip result string.