Package net.runelite.api.events
Class FocusChanged
- java.lang.Object
-
- net.runelite.api.events.FocusChanged
-
public class FocusChanged extends Object
An event where the focus state of the client changes.Examples of when this event may trigger include:
- Alt-tabbing to a different window
- Clicking outside the client window
- Clicking the client window from a different focused window
-
-
Constructor Summary
Constructors Constructor Description FocusChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)inthashCode()booleanisFocused()The new focus state.voidsetFocused(boolean focused)The new focus state.StringtoString()
-
-
-
Method Detail
-
isFocused
public boolean isFocused()
The new focus state.
-
setFocused
public void setFocused(boolean focused)
The new focus state.
-
canEqual
protected boolean canEqual(Object other)
-
-