Class FocusChanged


  • public class FocusChanged
    extends java.lang.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​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isFocused()
      The new focus state.
      void setFocused​(boolean focused)
      The new focus state.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FocusChanged

        public FocusChanged()
    • Method Detail

      • isFocused

        public boolean isFocused()
        The new focus state.
      • setFocused

        public void setFocused​(boolean focused)
        The new focus state.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object