Package gaiasky.interafce.components
Class ObjectsComponent
java.lang.Object
gaiasky.interafce.components.GuiComponent
gaiasky.interafce.components.ObjectsComponent
- All Implemented Interfaces:
IObserver
A component that shows a search box and some of the objects in Gaia Sky.
-
Field Summary
Modifier and TypeFieldDescriptionprotected OwnScrollPane
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.Actor
protected com.badlogic.gdx.scenes.scene2d.ui.TextField
protected ISceneGraph
-
Constructor Summary
ConstructorDescriptionObjectsComponent(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
setSceneGraph(ISceneGraph sg)
Methods inherited from class gaiasky.interafce.components.GuiComponent
getActor, group
-
Field Details
-
sg
-
objectsList
protected com.badlogic.gdx.scenes.scene2d.Actor objectsList -
searchBox
protected com.badlogic.gdx.scenes.scene2d.ui.TextField searchBox -
focusListScrollPane
-
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
-
ObjectsComponent
public ObjectsComponent(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
-
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
-