Class GuiComponent

java.lang.Object
gaiasky.gui.components.GuiComponent
Direct Known Subclasses:
BookmarksComponent, CameraComponent, DatasetsComponent, LocationLogComponent, TimeComponent, VisibilityComponent, VisualSettingsComponent

public abstract class GuiComponent extends Object
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    protected com.badlogic.gdx.scenes.scene2d.Actor
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected com.badlogic.gdx.scenes.scene2d.ui.Skin
     
    protected com.badlogic.gdx.scenes.scene2d.Stage
     
  • Constructor Summary Link icon

    Constructors
    Modifier
    Constructor
    Description
    protected
    GuiComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    abstract void
    Disposes the component.
    com.badlogic.gdx.scenes.scene2d.Actor
     
    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(float componentWidth)
    Initialises the component.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • component Link icon

      protected com.badlogic.gdx.scenes.scene2d.Actor component
    • skin Link icon

      protected com.badlogic.gdx.scenes.scene2d.ui.Skin skin
    • stage Link icon

      protected com.badlogic.gdx.scenes.scene2d.Stage stage
    • pad30 Link icon

      protected float pad30
    • pad20 Link icon

      protected float pad20
    • pad12 Link icon

      protected float pad12
    • pad9 Link icon

      protected float pad9
    • pad8 Link icon

      protected float pad8
    • pad6 Link icon

      protected float pad6
    • pad4 Link icon

      protected float pad4
    • pad3 Link icon

      protected float pad3
    • pad1 Link icon

      protected float pad1
  • Constructor Details Link icon

    • GuiComponent Link icon

      protected GuiComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
  • Method Details Link icon

    • initialize Link icon

      public abstract void initialize(float componentWidth)
      Initialises the component.
      Parameters:
      componentWidth - The target width of the component.
    • getActor Link icon

      public com.badlogic.gdx.scenes.scene2d.Actor getActor()
    • dispose Link icon

      public abstract void dispose()
      Disposes the component.
    • group Link icon

      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)