Interface Popup.Behavior

All Known Implementing Classes:
Popup.AddToStageBehavior, Popup.Behavior.Adapter, Popup.BehaviorMultiplexer, Popup.FadeBehavior, Popup.MenuBehavior, Popup.PositionBehavior, Popup.TooltipBehavior, Popup.TooltipBehavior.TooltipPositionBehavior, Popup.VisibilityBehavior
Enclosing class:
Popup<T extends com.badlogic.gdx.scenes.scene2d.Actor>

public static interface Popup.Behavior
what to do in the Popup methods
  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static class  Popup.Behavior.Adapter
    Does nothing.
  • Method Summary

    Modifier and Type Method Description
    Popup.Reaction handle​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)  
    boolean hide​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)  
    boolean show​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)  
  • Method Details

    • show

      boolean show​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
    • hide

      boolean hide​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
    • handle

      Popup.Reaction handle​(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
      Returns:
      what to do