Package gaiasky.interfce.components
Class BookmarksComponent
- java.lang.Object
-
- gaiasky.interfce.components.GuiComponent
-
- gaiasky.interfce.components.BookmarksComponent
-
- All Implemented Interfaces:
IObserver
public class BookmarksComponent extends GuiComponent implements IObserver
-
-
Field Summary
Fields Modifier and Type Field Description protected OwnScrollPanebookmarksScrollPaneprotected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.interfce.components.BookmarksComponent.TreeNode,java.lang.String>bookmarksTreeprotected com.badlogic.gdx.scenes.scene2d.ui.CellinfoCell1protected com.badlogic.gdx.scenes.scene2d.ui.CellinfoCell2protected OwnLabelinfoMessage1protected OwnLabelinfoMessage2protected com.badlogic.gdx.scenes.scene2d.ui.TableinfoTableprotected com.badlogic.gdx.scenes.scene2d.ui.TextFieldsearchBoxprotected ISceneGraphsg
-
Constructor Summary
Constructors Constructor Description BookmarksComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes the componentvoidinitialize()Initialises the componentvoidnotify(Events event, java.lang.Object... data)voidreloadBookmarksTree()voidselectBookmark(java.lang.String bookmark, boolean fire)voidsetSceneGraph(ISceneGraph sg)-
Methods inherited from class gaiasky.interfce.components.GuiComponent
getActor, group
-
-
-
-
Field Detail
-
sg
protected ISceneGraph sg
-
bookmarksTree
protected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.interfce.components.BookmarksComponent.TreeNode,java.lang.String> bookmarksTree
-
searchBox
protected com.badlogic.gdx.scenes.scene2d.ui.TextField searchBox
-
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
-
-
Method Detail
-
initialize
public void initialize()
Description copied from class:GuiComponentInitialises the component- Specified by:
initializein classGuiComponent
-
reloadBookmarksTree
public void reloadBookmarksTree()
-
selectBookmark
public void selectBookmark(java.lang.String bookmark, boolean fire)
-
setSceneGraph
public void setSceneGraph(ISceneGraph sg)
-
notify
public void notify(Events event, java.lang.Object... data)
-
dispose
public void dispose()
Description copied from class:GuiComponentDisposes the component- Specified by:
disposein classGuiComponent
-
-