Class TimeComponent

All Implemented Interfaces:

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