Package gaiasky.interafce.components
Class GuiComponent
- java.lang.Object
-
- gaiasky.interafce.components.GuiComponent
-
- Direct Known Subclasses:
BookmarksComponent
,CameraComponent
,DatasetsComponent
,MusicComponent
,ObjectsComponent
,TimeComponent
,VisibilityComponent
,VisualEffectsComponent
public abstract class GuiComponent extends java.lang.Object
A GUI component
-
-
Field Summary
Fields Modifier and Type Field Description protected com.badlogic.gdx.scenes.scene2d.Actor
component
protected float
pad1
protected float
pad12
protected float
pad3
protected float
pad4
protected float
pad6
protected float
pad8
protected float
pad9
protected com.badlogic.gdx.scenes.scene2d.ui.Skin
skin
protected com.badlogic.gdx.scenes.scene2d.Stage
stage
-
Constructor Summary
Constructors Constructor Description GuiComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
dispose()
Disposes the componentcom.badlogic.gdx.scenes.scene2d.Actor
getActor()
protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup
group(com.badlogic.gdx.scenes.scene2d.Actor ac1, com.badlogic.gdx.scenes.scene2d.Actor ac2, float sp)
abstract void
initialize()
Initialises the component
-
-
-
Field Detail
-
component
protected com.badlogic.gdx.scenes.scene2d.Actor component
-
skin
protected com.badlogic.gdx.scenes.scene2d.ui.Skin skin
-
stage
protected com.badlogic.gdx.scenes.scene2d.Stage stage
-
pad8
protected float pad8
-
pad12
protected float pad12
-
pad9
protected float pad9
-
pad6
protected float pad6
-
pad4
protected float pad4
-
pad3
protected float pad3
-
pad1
protected float pad1
-
-
Method Detail
-
initialize
public abstract void initialize()
Initialises the component
-
getActor
public com.badlogic.gdx.scenes.scene2d.Actor getActor()
-
dispose
public abstract void dispose()
Disposes the component
-
group
protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup group(com.badlogic.gdx.scenes.scene2d.Actor ac1, com.badlogic.gdx.scenes.scene2d.Actor ac2, float sp)
-
-