All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.micronova.mnfc.IToolTip

java.lang.Object
   |
   +----com.micronova.mnfc.IToolTip

public class IToolTip
extends Object
IToolTip provides static methods for easy tooltip handling. This class is used by IToolTipManager to hold tooltip data.

Version:
1.0
Author:
Makoto Nagata, MicroNova

Constructor Index

 o IToolTip()
Constructs an empty IToolTip.
 o IToolTip(View, String)
Constructs an IToolTip for a given View and a tipText string.

Method Index

 o getTipText()
Returns the text for this tooltip.
 o getToolTipManager()
Retrieves the IToolTipManager attached to the current Application.
 o getView()
Returns the View for this tooltip.
 o registerToolTip(View, String)
Registers a tooltip for a view (with the IToolTipManager for the current application, if one is available).
 o setTipText(String)
Sets the text for this tooltip.
 o setView(View)
Sets the View for this tooltip.
 o unregisterToolTip(View)
Unregisters a tooltip for a view (with the IToolTipManager for the current application, if one is available).
 o unregisterToolTipForDescendents(View)
Unregisters tooltips for the given view and all its descendents (with the IToolTipManager for the current application, if one is available).

Constructors

 o IToolTip
 public IToolTip()
Constructs an empty IToolTip.

 o IToolTip
 public IToolTip(View view,
                 String tipText)
Constructs an IToolTip for a given View and a tipText string.

Methods

 o getToolTipManager
 public static IToolTipManager getToolTipManager()
Retrieves the IToolTipManager attached to the current Application. Returns null if the current Application is not an instance of com.micronova.mnfc.IApplication.

 o registerToolTip
 public static void registerToolTip(View view,
                                    String toolTip)
Registers a tooltip for a view (with the IToolTipManager for the current application, if one is available).

 o unregisterToolTip
 public static void unregisterToolTip(View view)
Unregisters a tooltip for a view (with the IToolTipManager for the current application, if one is available).

 o unregisterToolTipForDescendents
 public static void unregisterToolTipForDescendents(View view)
Unregisters tooltips for the given view and all its descendents (with the IToolTipManager for the current application, if one is available).

 o setView
 public void setView(View view)
Sets the View for this tooltip.

 o getView
 public View getView()
Returns the View for this tooltip.

 o setTipText
 public void setTipText(String tipText)
Sets the text for this tooltip.

 o getTipText
 public String getTipText()
Returns the text for this tooltip.


All Packages  Class Hierarchy  This Package  Previous  Next  Index