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 OwnScrollPane
protected com.badlogic.gdx.scenes.scene2d.ui.Tree<gaiasky.gui.components.BookmarksComponent.TreeNode,
String> protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?>
protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?>
protected OwnLabel
protected OwnLabel
protected com.badlogic.gdx.scenes.scene2d.ui.Table
protected com.badlogic.gdx.scenes.scene2d.ui.TextField
protected ISceneGraph
-
Constructor Summary
ConstructorsConstructorDescriptionBookmarksComponent
(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes the component.void
Initialises the component.void
Event notification call.void
void
selectBookmark
(String bookmark, boolean fire) void
Methods inherited from class gaiasky.gui.components.GuiComponent
getActor, group
-
Field Details
-
sg
-
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.Table infoTable -
infoCell1
protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?> infoCell1 -
infoCell2
protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?> infoCell2 -
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:GuiComponent
Initialises the component.- Specified by:
initialize
in classGuiComponent
-
reloadBookmarksTree
public void reloadBookmarksTree() -
selectBookmark
-
setSceneGraph
-
notify
Description copied from interface:IObserver
Event notification call. -
dispose
public void dispose()Description copied from class:GuiComponent
Disposes the component.- Specified by:
dispose
in classGuiComponent
-