Class TimeComponent

java.lang.Object
gaiasky.interafce.components.GuiComponent
gaiasky.interafce.components.TimeComponent
All Implemented Interfaces:
IObserver

public class TimeComponent extends GuiComponent implements IObserver
  • Field Details

    • date

      protected OwnLabel date
    • time

      protected OwnLabel time
    • plus

      protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton plus
    • minus

      protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton minus
    • dateEdit

      protected OwnTextIconButton dateEdit
    • dateDialog

      protected DateDialog dateDialog
    • warp

      protected OwnSliderPlus warp
    • timeWarpVector

      protected double[] timeWarpVector
    • warpGuard

      protected boolean warpGuard
  • Constructor Details

    • TimeComponent

      public TimeComponent(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 class GuiComponent
    • notify

      public void notify(Events event, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      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