Package gaiasky.interfce.components
Class MusicComponent
- java.lang.Object
-
- gaiasky.interfce.components.GuiComponent
-
- gaiasky.interfce.components.MusicComponent
-
- All Implemented Interfaces:
IObserver
public class MusicComponent extends GuiComponent implements IObserver
-
-
Field Summary
Fields Modifier and Type Field Description protected INumberFormat
intf
protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton
next
protected INumberFormat
nf
protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton
play
protected OwnLabel
position
protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton
prev
protected OwnLabel
track
protected OwnLabel
vol
-
Constructor Summary
Constructors Constructor Description MusicComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes the componentvoid
initialize()
Initialises the componentvoid
notify(Events event, java.lang.Object... data)
-
Methods inherited from class gaiasky.interfce.components.GuiComponent
getActor, vgroup
-
-
-
-
Field Detail
-
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 INumberFormat nf
-
intf
protected INumberFormat intf
-
-
Method Detail
-
initialize
public void initialize()
Description copied from class:GuiComponent
Initialises the component- Specified by:
initialize
in classGuiComponent
-
notify
public void notify(Events event, java.lang.Object... data)
-
dispose
public void dispose()
Description copied from class:GuiComponent
Disposes the component- Specified by:
dispose
in classGuiComponent
-
-