Package gaiasky.interafce.components
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 Summary
Fields Modifier and Type Field Description protected OwnLabeldateprotected DateDialogdateDialogprotected OwnTextIconButtondateEditprotected com.badlogic.gdx.scenes.scene2d.ui.ImageButtonminusprotected com.badlogic.gdx.scenes.scene2d.ui.ImageButtonplusprotected OwnLabeltimeprotected double[]timeWarpVectorprotected OwnSliderPluswarpprotected booleanwarpGuard -
Constructor Summary
Constructors Constructor Description TimeComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and Type Method Description voiddispose()Disposes the componentvoidinitialize()Initialises the componentvoidnotify(Events event, java.lang.Object... data)Methods inherited from class gaiasky.interafce.components.GuiComponent
getActor, groupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
date
-
time
-
plus
protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton plus -
minus
protected com.badlogic.gdx.scenes.scene2d.ui.ImageButton minus -
dateEdit
-
dateDialog
-
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:GuiComponentInitialises the component- Specified by:
initializein classGuiComponent
-
notify
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component- Specified by:
disposein classGuiComponent
-