Package gaiasky.interafce.components
Class GuiComponent
- java.lang.Object
-
- gaiasky.interafce.components.GuiComponent
-
- Direct Known Subclasses:
BookmarksComponent,CameraComponent,DatasetsComponent,GaiaComponent,MusicComponent,ObjectsComponent,TimeComponent,VisibilityComponent,VisualEffectsComponent
public abstract class GuiComponent extends java.lang.ObjectA GUI component
-
-
Field Summary
Fields Modifier and Type Field Description protected com.badlogic.gdx.scenes.scene2d.Actorcomponentprotected floatpadprotected com.badlogic.gdx.scenes.scene2d.ui.Skinskinprotected floatspace1protected floatspace2protected floatspace3protected floatspace4protected floatspace6protected floatspace8protected com.badlogic.gdx.scenes.scene2d.Stagestage
-
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 voiddispose()Disposes the componentcom.badlogic.gdx.scenes.scene2d.ActorgetActor()protected com.badlogic.gdx.scenes.scene2d.ui.VerticalGroupgroup(com.badlogic.gdx.scenes.scene2d.Actor ac1, com.badlogic.gdx.scenes.scene2d.Actor ac2, float sp)abstract voidinitialize()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
-
pad
protected float pad
-
space8
protected float space8
-
space6
protected float space6
-
space4
protected float space4
-
space3
protected float space3
-
space2
protected float space2
-
space1
protected float space1
-
-
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)
-
-