Package gaiasky.gui.components
Class BookmarksComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.BookmarksComponent
- All Implemented Interfaces:
IObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OwnScrollPaneprotected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.gui.components.BookmarksComponent.TreeNode,String> protected OwnLabelprotected OwnLabelprotected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroupprotected Sceneprotected com.badlogic.gdx.scenes.scene2d.ui.TextFieldprotected FocusView -
Constructor Summary
ConstructorsConstructorDescriptionBookmarksComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes the component.voidInitialises the component.voidEvent notification call.voidvoidselectBookmark(String bookmark, boolean fire) voidMethods inherited from class gaiasky.gui.components.GuiComponent
getActor, group
-
Field Details
-
scene
-
view
-
bookmarksTree
protected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.gui.components.BookmarksComponent.TreeNode,String> bookmarksTree -
searchBox
protected com.badlogic.gdx.scenes.scene2d.ui.TextField searchBox -
bookmarksScrollPane
-
infoTable
protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup infoTable -
infoMessage1
-
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:GuiComponentInitialises the component.- Specified by:
initializein classGuiComponent
-
reloadBookmarksTree
public void reloadBookmarksTree() -
selectBookmark
-
setScene
-
notify
Description copied from interface:IObserverEvent notification call. -
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-