|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectiCMS.applet.GuiUpdater
public class GuiUpdater
The GuiUpdater class is created to store events that need to be processed synchroniously with the AWT loop. The events are stored and excuted on a run the class should be invoked by SwingUtilities.invokeLater(updateGUI);
![]() |
![]() |
Constructor Summary | |
---|---|
GuiUpdater(DefaultListModel list,
TokenTree tree,
int maxListSize)
Constructor |
Method Summary | |
---|---|
void |
addStateChange(String token,
String status)
addStateChange adds a statechange when the time is right |
void |
addTrap(AdvancedTrapLine trap)
addTrap adds a trap when the time is right |
void |
addTrap(TrapLine trap)
addTrap adds a trap when the time is right |
void |
run()
main loop, updates the list or tree if needed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuiUpdater(DefaultListModel list, TokenTree tree, int maxListSize)
list
- pointer to the applets traplisttree
- pointer to the applets treemaxListSize
- max size of the listMethod Detail |
---|
public void addTrap(TrapLine trap)
trap
- the trap to be addedpublic void addTrap(AdvancedTrapLine trap)
trap
- the trap to be addedpublic void addStateChange(String token, String status)
token
- the token which has a state changestatus
- the new statuspublic void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |