Class BookmarksComponent

java.lang.Object
gaiasky.interafce.components.GuiComponent
gaiasky.interafce.components.BookmarksComponent
All Implemented Interfaces:
IObserver

public class BookmarksComponent extends GuiComponent implements IObserver
  • Field Details

    • sg

      protected ISceneGraph sg
    • bookmarksTree

      protected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.interafce.components.BookmarksComponent.TreeNode,​String> bookmarksTree
    • bookmarksScrollPane

      protected OwnScrollPane bookmarksScrollPane
    • 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

    • BookmarksComponent

      public BookmarksComponent(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
    • reloadBookmarksTree

      public void reloadBookmarksTree()
    • selectBookmark

      public void selectBookmark(String bookmark, boolean fire)
    • setSceneGraph

      public void setSceneGraph(ISceneGraph sg)
    • notify

      public void notify(Events event, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      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