Package jmri

Annotation Type InvokeOnGuiThread


@Retention(CLASS)
@Target({METHOD,CONSTRUCTOR})
@Documented
@Inherited
public @interface InvokeOnGuiThread
Annotation denoting that a method or constructor must be called on the GUI (i.e. Swing) thread.

A class with one or more methods that must be called on a particular thread is by definition NotThreadSafe, so please include the @NotThreadSafe annotation on the class.

For more information on JMRI threading conventions, see the JMRI Threading docoumentation page.