Crossfire JXClient, Trunk
Static Public Member Functions | Private Member Functions | List of all members
com.realtime.crossfire.jxclient.util.SwingUtilities2 Class Reference
Collaboration diagram for com.realtime.crossfire.jxclient.util.SwingUtilities2:
Collaboration graph

Static Public Member Functions

static void invokeAndWait (@NotNull final Runnable runnable)
 
static void invokeLater (@NotNull final Runnable runnable)
 

Private Member Functions

 SwingUtilities2 ()
 

Detailed Description

Utility class for Swing related functions.

Author
Andreas Kirschbaum

Definition at line 34 of file SwingUtilities2.java.

Constructor & Destructor Documentation

◆ SwingUtilities2()

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

Private constructor to prevent instantiation.

Definition at line 39 of file SwingUtilities2.java.

Member Function Documentation

◆ invokeAndWait()

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

◆ 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 73 of file SwingUtilities2.java.

Referenced by com.realtime.crossfire.jxclient.gui.gui.Gui.repaint(), com.realtime.crossfire.jxclient.gui.gui.AbstractGUIElement.setChanged(), and com.realtime.crossfire.jxclient.gui.label.TooltipManagerImpl.tooltipTextChanged().

Here is the caller graph for this function:

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