Package gaiasky.util.scene2d
Class OwnProgressBar
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.Actor
-
- com.badlogic.gdx.scenes.scene2d.ui.Widget
-
- com.badlogic.gdx.scenes.scene2d.ui.ProgressBar
-
- gaiasky.util.scene2d.OwnProgressBar
-
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Disableable
,com.badlogic.gdx.scenes.scene2d.utils.Layout
public class OwnProgressBar extends com.badlogic.gdx.scenes.scene2d.ui.ProgressBar
-
-
Constructor Summary
Constructors Constructor Description OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.ProgressBar.ProgressBarStyle style)
OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, java.lang.String styleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getPrefHeight()
float
getPrefWidth()
void
setPrefHeight(float prefHeight)
void
setPrefWidth(float prefWidth)
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar
act, clamp, draw, getKnobDrawable, getKnobPosition, getMaxValue, getMinValue, getPercent, getStepSize, getStyle, getValue, getVisualPercent, getVisualValue, isDisabled, isVertical, setAnimateDuration, setAnimateInterpolation, setDisabled, setRange, setRound, setStepSize, setStyle, setValue, setVisualInterpolation
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Widget
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, invalidate, invalidateHierarchy, layout, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validate
-
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, hit, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setStage, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront, toString
-
-
-
-
Constructor Detail
-
OwnProgressBar
public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.ProgressBar.ProgressBarStyle style)
-
OwnProgressBar
public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, java.lang.String styleName)
-
OwnProgressBar
public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
-
-
Method Detail
-
setPrefWidth
public void setPrefWidth(float prefWidth)
-
setPrefHeight
public void setPrefHeight(float prefHeight)
-
getPrefWidth
public float getPrefWidth()
- Specified by:
getPrefWidth
in interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout
- Overrides:
getPrefWidth
in classcom.badlogic.gdx.scenes.scene2d.ui.ProgressBar
-
getPrefHeight
public float getPrefHeight()
- Specified by:
getPrefHeight
in interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout
- Overrides:
getPrefHeight
in classcom.badlogic.gdx.scenes.scene2d.ui.ProgressBar
-
-