Class LocationLogComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.LocationLogComponent
- All Implemented Interfaces:
IObserver
GUI component that displays a scrollable log of visited locations in Gaia Sky.
Each entry shows the location name, elapsed time, and provides buttons to
navigate the camera to that position or focus on the corresponding object.
Automatically refreshes when new location records are added.
-
Field Summary
Fields inherited from class GuiComponent
component, pad1, pad12, pad20, pad3, pad30, pad4, pad6, pad8, pad9, skin, stageModifier and TypeFieldDescriptionprotected com.badlogic.gdx.scenes.scene2d.Actorprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected com.badlogic.gdx.scenes.scene2d.ui.Skinprotected com.badlogic.gdx.scenes.scene2d.Stage -
Constructor Summary
ConstructorsConstructorDescriptionLocationLogComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Methods inherited from class GuiComponent
getActor, group
-
Constructor Details
-
LocationLogComponent
public LocationLogComponent(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.
-
notify
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-