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
-
IToolTip()
-
Constructs an empty IToolTip.
-
IToolTip(View, String)
-
Constructs an IToolTip for a given View and a tipText string.
-
getTipText()
-
Returns the text for this tooltip.
-
getToolTipManager()
-
Retrieves the IToolTipManager attached to the current Application.
-
getView()
-
Returns the View for this tooltip.
-
registerToolTip(View, String)
-
Registers a tooltip for a view (with the IToolTipManager for
the current application, if one is available).
-
setTipText(String)
-
Sets the text for this tooltip.
-
setView(View)
-
Sets the View for this tooltip.
-
unregisterToolTip(View)
-
Unregisters a tooltip for a view (with the IToolTipManager
for the current application, if one is available).
-
unregisterToolTipForDescendents(View)
-
Unregisters tooltips for the given view and all its descendents
(with the IToolTipManager for the current application, if one
is available).
IToolTip
public IToolTip()
- Constructs an empty IToolTip.
IToolTip
public IToolTip(View view,
String tipText)
- Constructs an IToolTip for a given View and a tipText string.
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.
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).
unregisterToolTip
public static void unregisterToolTip(View view)
- Unregisters a tooltip for a view (with the IToolTipManager
for the current application, if one is available).
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).
setView
public void setView(View view)
- Sets the View for this tooltip.
getView
public View getView()
- Returns the View for this tooltip.
setTipText
public void setTipText(String tipText)
- Sets the text for this tooltip.
getTipText
public String getTipText()
- Returns the text for this tooltip.
All Packages Class Hierarchy This Package Previous Next Index