|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttcl.lang.UnsupportedJDetachCallCmd
public class UnsupportedJDetachCallCmd
This command is the only means to safely call a blocking Java method like a modal AWT dialog box. If you used java::call directly the entire application would hang because the AWT blocks the calling thread in an AWT modal dialos show() method. You would use this command in place of the java::call method or a java instance method. It will invoke a static or instance Java method using another thread so that the calling thread will not block. This command is unsupported and undocumented so you should only need to use it if you run into this problem.
Constructor Summary | |
---|---|
UnsupportedJDetachCallCmd()
|
Method Summary | |
---|---|
void |
cmdProc(Interp interp,
TclObject[] argv)
|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnsupportedJDetachCallCmd()
Method Detail |
---|
public void cmdProc(Interp interp, TclObject[] argv) throws TclException
cmdProc
in interface Command
TclException
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |