Class BookmarksComponent

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

public class BookmarksComponent extends GuiComponent implements IObserver
  • Field Details Link icon

    • scene Link icon

      protected Scene scene
    • view Link icon

      protected FocusView view
    • bookmarksTree Link icon

      protected com.badlogic.gdx.scenes.scene2d.ui.Tree<BookmarksComponent.TreeNode,String> bookmarksTree
    • bookmarksScrollPane Link icon

      protected OwnScrollPane bookmarksScrollPane
    • infoTable Link icon

      protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup infoTable
    • infoMessage1 Link icon

      protected OwnLabel infoMessage1
    • infoMessage2 Link icon

      protected OwnLabel infoMessage2
  • Constructor Details Link icon

    • BookmarksComponent Link icon

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

    • initialize Link icon

      public void initialize(float componentWidth)
      Description copied from class: GuiComponent
      Initialises the component.
      Specified by:
      initialize in class GuiComponent
      Parameters:
      componentWidth - The target width of the component.
    • reloadBookmarksTree Link icon

      public void reloadBookmarksTree()
    • selectBookmark Link icon

      public void selectBookmark(String bookmark, boolean fire)
    • setScene Link icon

      public void setScene(Scene scene)
    • notify Link icon

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

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