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 java.lang.Object
implements Popup.Behavior
Does nothing. Override this if you want to override only some methods.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.dermetfan.gdx.scenes.scene2d.ui.Popup.Behavior

    Popup.Behavior.Adapter
  • Constructor Summary

    Constructors
    Constructor Description
    Adapter()  
  • 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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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