Package gaiasky.interafce.components
Class ObjectsComponent
java.lang.Object
gaiasky.interafce.components.GuiComponent
gaiasky.interafce.components.ObjectsComponent
- All Implemented Interfaces:
IObserver
public class ObjectsComponent extends GuiComponent implements IObserver
-
Field Summary
Fields Modifier and Type Field Description protected OwnScrollPanefocusListScrollPaneprotected 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.ActorobjectsListprotected com.badlogic.gdx.scenes.scene2d.ui.TextFieldsearchBoxprotected ISceneGraphsg -
Constructor Summary
Constructors Constructor Description ObjectsComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and Type Method Description voiddispose()Disposes the componentvoidinitialize()Initialises the componentvoidnotify(Events event, java.lang.Object... data)voidsetSceneGraph(ISceneGraph sg)Methods inherited from class gaiasky.interafce.components.GuiComponent
getActor, groupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component- Specified by:
disposein classGuiComponent
-