Class PanoramaComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.CubemapComponent
gaiasky.gui.components.PanoramaComponent
- All Implemented Interfaces:
IObserver
Component that appears in panorama mode and is used to control some of its parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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
ConstructorsConstructorDescriptionPanoramaComponent(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) voidEvent notification call.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
-
Field Details
-
projectionBox
-
-
Constructor Details
-
PanoramaComponent
public PanoramaComponent(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
-
notify
-