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 boolean
canEqual(Object other)
boolean
equals(Object o)
int
hashCode()
boolean
isFocused()
The new focus state.void
setFocused(boolean focused)
The new focus state.String
toString()
-
-
-
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)
-
-