Class ObjectsComponent

All Implemented Interfaces:

public class ObjectsComponent extends GuiComponent implements IObserver
A component that shows a search box and some of the objects in Gaia Sky.
  • Field Details

    • sg

      protected ISceneGraph sg
    • objectsList

      protected com.badlogic.gdx.scenes.scene2d.Actor objectsList
    • focusListScrollPane

      protected OwnScrollPane focusListScrollPane
    • infoTable

      protected com.badlogic.gdx.scenes.scene2d.ui.Table infoTable
    • infoCell1

      protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?> infoCell1
    • infoCell2

      protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?> infoCell2
    • infoMessage1

      protected OwnLabel infoMessage1
    • infoMessage2

      protected OwnLabel infoMessage2
  • Constructor Details

    • ObjectsComponent

      public ObjectsComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
  • Method Details

    • initialize

      public void initialize()
      Description copied from class: GuiComponent
      Initialises the component.
      Specified by:
      initialize in class GuiComponent
    • setSceneGraph

      public void setSceneGraph(ISceneGraph sg)
    • 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.
    • dispose

      public void dispose()
      Description copied from class: GuiComponent
      Disposes the component.
      Specified by:
      dispose in class GuiComponent