Class Popup.Behavior.Adapter

java.lang.Object
net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior.Adapter
All Implemented Interfaces:
Popup.Behavior
Direct Known Subclasses:
Popup.AddToStageBehavior, Popup.FadeBehavior, Popup.MenuBehavior, Popup.PositionBehavior, Popup.TooltipBehavior, Popup.VisibilityBehavior
Enclosing interface:
Popup.Behavior

public static class Popup.Behavior.Adapter extends Object implements Popup.Behavior
Does nothing. Override this if you want to override only some methods.
  • Constructor Details

    • Adapter

      public Adapter()
  • Method Details

    • show

      public boolean show(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Specified by:
      show in interface Popup.Behavior
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
      Returns:
      true
    • hide

      public boolean hide(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Specified by:
      hide in interface Popup.Behavior
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
      Returns:
      false
    • handle

      public Popup.Reaction handle(com.badlogic.gdx.scenes.scene2d.Event event, Popup popup)
      Specified by:
      handle in interface Popup.Behavior
      Parameters:
      event - the Event to handle
      popup - the Popup this Behavior is attached to
      Returns:
      null