Package gaiasky.gui.components
Class TimeComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.TimeComponent
- All Implemented Interfaces:
IObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OwnLabel
protected OwnTextIconButton
protected OwnImageButton
protected OwnImageButton
protected OwnImageButton
protected OwnLabel
protected double[]
protected OwnLabel
protected OwnLabel
protected OwnLabel
protected boolean
protected OwnSliderPlus
-
Constructor Summary
ConstructorsConstructorDescriptionTimeComponent
(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Methods inherited from class gaiasky.gui.components.GuiComponent
getActor, group
-
Field Details
-
date
-
time
-
warp
-
warpForward
-
warpBackward
-
playPause
-
stepForward
-
stepBackward
-
dateEdit
-
warpSlider
-
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(float componentWidth) Description copied from class:GuiComponent
Initialises the component.- Specified by:
initialize
in classGuiComponent
- Parameters:
componentWidth
- The target width of the component.
-
notify
Description copied from interface:IObserver
Event notification call. -
dispose
public void dispose()Description copied from class:GuiComponent
Disposes the component.- Specified by:
dispose
in classGuiComponent
-