Class LocationLogComponent

java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.LocationLogComponent
All Implemented Interfaces:
IObserver

public class LocationLogComponent extends GuiComponent implements 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.
  • 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: GuiComponent
      Initialises the component.
      Specified by:
      initialize in class GuiComponent
      Parameters:
      componentWidth - The target width of the component.
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.
    • dispose

      public void dispose()
      Description copied from class: GuiComponent
      Disposes the component.
      Specified by:
      dispose in class GuiComponent