Package net.runelite.client.util
Class SwingUtil
- java.lang.Object
-
- net.runelite.client.util.SwingUtil
-
public class SwingUtil extends Object
Various Swing utilities.
-
-
Constructor Summary
Constructors Constructor Description SwingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
activate(Object maybeActivatable)
static void
addModalTooltip(AbstractButton button, String on, String off)
static void
deactivate(Object maybeActivatable)
static void
fastRemoveAll(Container c)
Removes all of a component's children faster than calling removeAll() on it in many casesstatic void
pumpPendingEvents()
Run any events currently in the event queuestatic void
removeButtonDecorations(AbstractButton button)
-
-
-
Method Detail
-
removeButtonDecorations
public static void removeButtonDecorations(AbstractButton button)
-
addModalTooltip
public static void addModalTooltip(AbstractButton button, String on, String off)
-
fastRemoveAll
public static void fastRemoveAll(Container c)
Removes all of a component's children faster than calling removeAll() on it in many cases
-
pumpPendingEvents
public static void pumpPendingEvents()
Run any events currently in the event queue
-
activate
public static void activate(@Nullable Object maybeActivatable)
-
deactivate
public static void deactivate(@Nullable Object maybeActivatable)
-
-