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 OwnLabelprotected OwnTextIconButtonprotected OwnImageButtonprotected OwnImageButtonprotected OwnImageButtonprotected OwnLabelprotected double[]protected OwnLabelprotected OwnLabelprotected OwnLabelprotected booleanprotected 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:GuiComponentInitialises the component.- Specified by:
initializein classGuiComponent- Parameters:
componentWidth- The target width of the component.
-
notify
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-