Class MusicComponent

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

public class MusicComponent extends GuiComponent implements IObserver
  • Field Details

    • prev

      protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton prev
    • play

      protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton play
    • next

      protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton next
    • vol

      protected OwnLabel vol
    • track

      protected OwnLabel track
    • position

      protected OwnLabel position
    • nf

      protected DecimalFormat nf
    • intf

      protected DecimalFormat intf
  • Constructor Details

    • MusicComponent

      public MusicComponent(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
      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