Package gaiasky.interafce.components
Class TimeComponent
java.lang.Object
gaiasky.interafce.components.GuiComponent
gaiasky.interafce.components.TimeComponent
- All Implemented Interfaces:
IObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OwnLabelprotected DateDialogprotected OwnTextIconButtonprotected com.badlogic.gdx.scenes.scene2d.ui.ImageButtonprotected com.badlogic.gdx.scenes.scene2d.ui.ImageButtonprotected OwnLabelprotected double[]protected OwnSliderPlusprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionTimeComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes the component.voidInitialises the component.voidEvent notification call.Methods inherited from class gaiasky.interafce.components.GuiComponent
getActor, group
-
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
Description copied from interface:IObserverEvent notification call. -
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-