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
FieldsModifier and TypeFieldDescriptionprotected OwnScrollPaneprotected com.badlogic.gdx.scenes.scene2d.ui.Cell<?>protected com.badlogic.gdx.scenes.scene2d.ui.Cell<?>protected OwnLabelprotected OwnLabelprotected com.badlogic.gdx.scenes.scene2d.ui.Tableprotected com.badlogic.gdx.scenes.scene2d.Actorprotected com.badlogic.gdx.scenes.scene2d.ui.TextFieldprotected ISceneGraph -
Constructor Summary
ConstructorsConstructorDescriptionObjectsComponent(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.voidsetSceneGraph(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:GuiComponentInitialises the component.- Specified by:
initializein classGuiComponent
-
setSceneGraph
-
notify
Description copied from interface:IObserverEvent notification call. -
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-