Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.util.SwingUtilities2 Class Reference

Utility class for Swing related functions. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.util.SwingUtilities2:

Static Public Member Functions

static void invokeAndWait (@NotNull final Runnable runnable)
 Calls SwingUtilities#invokeAndWait(Runnable) if not on the EDT or calls the Runnable directly if on the EDT. More...
 
static void invokeLater (@NotNull final Runnable runnable)
 Calls SwingUtilities#invokeLater(Runnable) if not on the EDT or calls the Runnable directly if on the EDT. More...
 

Private Member Functions

 SwingUtilities2 ()
 Private constructor to prevent instantiation. More...
 

Detailed Description

Utility class for Swing related functions.

Author
Andreas Kirschbaum

Definition at line 32 of file SwingUtilities2.java.

Constructor & Destructor Documentation

◆ SwingUtilities2()

com.realtime.crossfire.jxclient.util.SwingUtilities2.SwingUtilities2 ( )
private

Private constructor to prevent instantiation.

Definition at line 37 of file SwingUtilities2.java.

Member Function Documentation

◆ invokeAndWait()

◆ invokeLater()

static void com.realtime.crossfire.jxclient.util.SwingUtilities2.invokeLater ( @NotNull final Runnable  runnable)
static

Calls SwingUtilities#invokeLater(Runnable) if not on the EDT or calls the Runnable directly if on the EDT.

Parameters
runnablethe runnable to call

Definition at line 64 of file SwingUtilities2.java.

Referenced by com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.setChanged().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: