Package com.prineside.tdi2.ui.shared
Class ForwardButton
java.lang.Object
com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
com.prineside.tdi2.ui.shared.ForwardButton
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,UiManager.UiComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.managers.UiManager.UiComponent
UiManager.UiComponent.Adapter -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.badlogic.gdx.graphics.Colorstatic final com.badlogic.gdx.graphics.Colorstatic final com.badlogic.gdx.graphics.Colorstatic final com.badlogic.gdx.graphics.Color -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhide()static ForwardButtoni()reset()setBackgroundColors(com.badlogic.gdx.graphics.Color normalColor, com.badlogic.gdx.graphics.Color hoverColor, com.badlogic.gdx.graphics.Color activeColor, com.badlogic.gdx.graphics.Color disabledColor) setClickHandler(Runnable clickHandler) setEnabled(boolean enabled) setIcon(com.badlogic.gdx.scenes.scene2d.utils.Drawable iconDrawable) setText(CharSequence text) setVisible(boolean visible) Methods inherited from class com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
dispose, postRender, preRender
-
Field Details
-
DEFAULT_NORMAL_COLOR
public static final com.badlogic.gdx.graphics.Color DEFAULT_NORMAL_COLOR -
DEFAULT_HOVER_COLOR
public static final com.badlogic.gdx.graphics.Color DEFAULT_HOVER_COLOR -
DEFAULT_ACTIVE_COLOR
public static final com.badlogic.gdx.graphics.Color DEFAULT_ACTIVE_COLOR -
DEFAULT_DISABLED_COLOR
public static final com.badlogic.gdx.graphics.Color DEFAULT_DISABLED_COLOR
-
-
Constructor Details
-
ForwardButton
public ForwardButton()
-
-
Method Details
-
i
-
reset
-
setBackgroundColors
public ForwardButton setBackgroundColors(com.badlogic.gdx.graphics.Color normalColor, com.badlogic.gdx.graphics.Color hoverColor, com.badlogic.gdx.graphics.Color activeColor, com.badlogic.gdx.graphics.Color disabledColor) -
setIcon
-
setEnabled
-
setText
-
setVisible
-
setClickHandler
-
hide
public void hide()
-