|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.Timer | +--com.borland.primetime.ide.KeymapManager.UpdateTimer
Helper class whose main task is to call the "update" function of all the UpdateableActions that were registered.
Fields inherited from class javax.swing.Timer |
listenerList |
Constructor Summary | |
KeymapManager.UpdateTimer(int delay)
Create a new instance. |
Method Summary | |
void |
addAction(javax.swing.Action a)
Register an action so its update function will get called at regular times, and start the timer if this is the first action to be registered. |
void |
clearActions()
Clear the cache of registered actions and stop the timer. |
int |
getActionCount()
How many actions are currently registered. |
void |
removeAction(javax.swing.Action a)
Un-register an action that was previously registered through addAction, and stop the timer if there are no more registered actions. |
Methods inherited from class javax.swing.Timer |
addActionListener, fireActionPerformed, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeymapManager.UpdateTimer(int delay)
delay
- The time to wait inbetween updates.Method Detail |
public void addAction(javax.swing.Action a)
a
- The action to be registered.public void removeAction(javax.swing.Action a)
a
- The action to be unregistered.public void clearActions()
public int getActionCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |