Class BookmarksComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.BookmarksComponent
- All Implemented Interfaces:
IObserver
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OwnScrollPaneprotected com.badlogic.gdx.scenes.scene2d.ui.Tree<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.voidinitialize(float componentWidth) Initialises the component.voidEvent notification call.voidvoidselectBookmark(String bookmark, boolean fire) voidMethods inherited from class GuiComponent
getActor, group
-
Field Details
-
scene
-
view
-
bookmarksTree
protected com.badlogic.gdx.scenes.scene2d.ui.Tree<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(float componentWidth) Description copied from class:GuiComponentInitialises the component.- Specified by:
initializein classGuiComponent- Parameters:
componentWidth- The target width of the component.
-
reloadBookmarksTree
public void reloadBookmarksTree() -
selectBookmark
-
setScene
-
notify
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-