Class PlanetariumComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.CubemapComponent
gaiasky.gui.components.PlanetariumComponent
Component that appears in panorama mode and is used to control some of its parameters.
-
Field Summary
Fields inherited from class CubemapComponent
backButton, enumOffset, key, widthMultiplierModifier and TypeFieldDescriptionprotected com.badlogic.gdx.scenes.scene2d.ui.Buttonprotected intprotected Stringprotected floatFactor to apply to the default component width.Fields inherited from class GuiComponent
component, pad1, pad12, pad20, pad3, pad30, pad4, pad6, pad8, pad9, skin, stageModifier and TypeFieldDescriptionprotected com.badlogic.gdx.scenes.scene2d.Actorprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected com.badlogic.gdx.scenes.scene2d.ui.Skinprotected com.badlogic.gdx.scenes.scene2d.Stage -
Constructor Summary
ConstructorsConstructorDescriptionPlanetariumComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToTable(com.badlogic.gdx.scenes.scene2d.ui.Table t) voidinitializeComponent(float componentWidth, CubmeapProjectionEffect.CubemapProjection projection) protected voidMethods inherited from class CubemapComponent
dispose, initialize, initializeModifier and TypeMethodDescriptionvoiddispose()Disposes the component.voidinitialize(float unused) Initialises the component.voidinitialize(float componentWidth, CubmeapProjectionEffect.CubemapProjection projection) Methods inherited from class GuiComponent
getActor, group
-
Constructor Details
-
PlanetariumComponent
public PlanetariumComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
-
-
Method Details
-
setEnumOffset
protected void setEnumOffset()- Specified by:
setEnumOffsetin classCubemapComponent
-
initializeComponent
public void initializeComponent(float componentWidth, CubmeapProjectionEffect.CubemapProjection projection) - Specified by:
initializeComponentin classCubemapComponent
-
addToTable
public void addToTable(com.badlogic.gdx.scenes.scene2d.ui.Table t) - Specified by:
addToTablein classCubemapComponent
-