Class VisibilityComponent
java.lang.Object
gaiasky.gui.components.GuiComponent
gaiasky.gui.components.VisibilityComponent
- All Implemented Interfaces:
IObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields 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
ConstructorsConstructorDescriptionVisibilityComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes the component.voidinitialize(float componentWidth) Initialises the component.voidEvent notification call.voidsetVisibilityEntitites(ComponentTypes.ComponentType[] ve, boolean[] v) Methods inherited from class GuiComponent
getActor, group
-
Field Details
-
visibilityButtonMap
-
-
Constructor Details
-
VisibilityComponent
public VisibilityComponent(com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage)
-
-
Method Details
-
setVisibilityEntitites
-
initialize
public void initialize(float componentWidth) Description copied from class:GuiComponentInitialises the component.- Specified by:
initializein classGuiComponent- Parameters:
componentWidth- The target width of the component.
-
notify
-
dispose
public void dispose()Description copied from class:GuiComponentDisposes the component.- Specified by:
disposein classGuiComponent
-