IMHO, there is no plumbing for that. Tooltips are based on hover. You can
use PopUpManager to popup something if you want.
I want a tooltip, though, not a popup--why would I want to use PopUpManager? Are tooltips a type of popup and if I want to create one, I should use PopUpManager, not ToolTipManager?
Tooltips are pretty similar to popups, but tooltips have a particular mouse
Ok--so if I want to create a ToolTip that displays on focus, should I use PopUpManager, not ToolTipManager?
Depends on what you want the behavior to be. When do you want this
"tooltip" to go away? If you don't want the default behavior for dismissal
either, then I'd definitely head in the direction of PopUpManager.
If you want the dismissal behavior, you can try faking the events to
ToolTipManager, but that might be tricky, and you'll end up back using
I want the tooltip to appear when the textinput receives focus, and then disappear on blur (when the textinput loses focus).
That doesn't sound like a tooltip, so consider using PopUpManager.
Subclassing will allow you to add this functionality in one place. Focus
events bubble so you can also listen at the Application level.
Try having a look at:
It displays the errortip all the time, until the input are correct, but thats also far better from a usability perspective.