|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.ui.actiontip.ActionTipManager
public final class ActionTipManager
ActionTips should only be displayed to the user one at a time. The ActionTipManager ensures this and manages a queue of tips to be displayed. Clients can add and remove ActionTipTaks to display a tip and the ActionTipManager processes them, calling back the client when it is time for a task to display its tip. Tips are displayed for a short while, giving the opportunity for the user to read, iteract, or cancel the tip. This manager is part of Swing and is not thread safe. All interactions with it must be made on the event thread.
Nested Class Summary | |
---|---|
static class |
ActionTipManager.TaskResult |
Method Summary | |
---|---|
void |
acceptTipTask(ActionTipTask task) Accept a previously submitted task. |
void |
cancelTipTask(ActionTipTask task) Remove a tip task from the queue as it is no longer needed. |
static ActionTipManager |
getActionTipManager() |
static int |
getTipDisplayDuration() |
static void |
setTipDisplayDuration(int tipDisplayDuration) |
void |
submitTipTask(ActionTipTask task) Submit a task to the ActionTipManager to display a actionTip. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ActionTipManager getActionTipManager()
public void submitTipTask(ActionTipTask task)
task
- the provider to call back to display a tippublic void cancelTipTask(ActionTipTask task)
task
-public void acceptTipTask(ActionTipTask task)
task
-public static void setTipDisplayDuration(int tipDisplayDuration)
public static int getTipDisplayDuration()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |