Package gaiasky.gui

Class LandAtWindow

java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
com.badlogic.gdx.scenes.scene2d.ui.Table
All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable, com.badlogic.gdx.scenes.scene2d.utils.Layout

public class LandAtWindow extends GenericDialog
  • Constructor Details

    • LandAtWindow

      public LandAtWindow(com.badlogic.ashley.core.Entity target, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
  • Method Details

    • build

      protected void build()
      Description copied from class: GenericDialog
      Build the content here.
      Specified by:
      build in class GenericDialog
    • accept

      protected boolean accept()
      Description copied from class: GenericDialog
      The accept function, if any.
      Specified by:
      accept in class GenericDialog
      Returns:
      True if the dialog must close after the call, false otherwise.
    • cancel

      protected void cancel()
      Description copied from class: GenericDialog
      The cancel function, if any.
      Specified by:
      cancel in class GenericDialog
    • enableComponents

      protected void enableComponents(boolean enabled, com.badlogic.gdx.scenes.scene2d.utils.Disableable... components)
      Sets the enabled property on the given components
      Overrides:
      enableComponents in class GenericDialog
      Parameters:
      enabled - The state to set.
      components - The components to enable or disable.
    • dispose

      public void dispose()
      Specified by:
      dispose in class GenericDialog
    • setKeyboardFocus

      public void setKeyboardFocus()
      Description copied from class: GenericDialog
      Sets the keyboard focus, override in case you want to set the focus to a specific item.
      Overrides:
      setKeyboardFocus in class GenericDialog