Class FocusListener

java.lang.Object
arc.scene.event.FocusListener
All Implemented Interfaces:
EventListener

public abstract class FocusListener extends Object implements EventListener
  • Constructor Details

    • FocusListener

      public FocusListener()
  • Method Details

    • handle

      public boolean handle(SceneEvent event)
      Description copied from interface: EventListener
      Try to handle the given event, if it is applicable.
      Specified by:
      handle in interface EventListener
      Returns:
      true if the event should be considered handled by scene2d.
    • keyboardFocusChanged

      public void keyboardFocusChanged(FocusListener.FocusEvent event, Element element, boolean focused)
      Parameters:
      element - The event target, which is the element that emitted the focus event.
    • scrollFocusChanged

      public void scrollFocusChanged(FocusListener.FocusEvent event, Element element, boolean focused)
      Parameters:
      element - The event target, which is the element that emitted the focus event.