Package gaiasky.gui

Class IndividualVisibilityWindow

All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Cullable, com.badlogic.gdx.scenes.scene2d.utils.Layout, IObserver

public class IndividualVisibilityWindow extends GenericDialog implements IObserver
This window controls the visibility of individual objects
  • Field Details

    • space8

      protected float space8
    • space4

      protected float space4
    • space2

      protected float space2
    • sg

      protected ISceneGraph sg
    • elementsCell

      protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?> elementsCell
    • currentComponentType

      protected String currentComponentType
    • currentCt

      protected ComponentTypes.ComponentType currentCt
    • cbMap

      protected Map<String,com.badlogic.gdx.scenes.scene2d.ui.CheckBox> cbMap
  • Constructor Details

    • IndividualVisibilityWindow

      public IndividualVisibilityWindow(ISceneGraph sg, 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 void accept()
      Description copied from class: GenericDialog
      The accept function, if any
      Specified by:
      accept in class GenericDialog
    • cancel

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

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

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.