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.ui.Styleable<com.badlogic.gdx.scenes.scene2d.ui.ProgressBar.ProgressBarStyle>, 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
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar Link icon

    com.badlogic.gdx.scenes.scene2d.ui.ProgressBar.ProgressBarStyle
  • Constructor Summary Link icon

    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, String styleName)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    draw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha)
     
    float
     
    float
     
    void
    setPrefHeight(float prefHeight)
     
    void
    setPrefWidth(float prefWidth)
     
    void
    setTitle(String title, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
     

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar Link icon

    act, clamp, getBackgroundDrawable, getKnobAfterDrawable, getKnobBeforeDrawable, getKnobDrawable, getKnobPosition, getMaxValue, getMinValue, getPercent, getStepSize, getStyle, getValue, getVisualPercent, getVisualValue, isAnimating, isDisabled, isVertical, round, setAnimateDuration, setAnimateInterpolation, setDisabled, setProgrammaticChangeEvents, setRange, setRound, setStepSize, setStyle, setValue, setVisualInterpolation, updateVisualValue

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Widget Link icon

    getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, invalidate, invalidateHierarchy, layout, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validate

    Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor Link icon

    addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, 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, scaleChanged, 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

    Methods inherited from class java.lang.Object Link icon

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

    • OwnProgressBar Link icon

      public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.ProgressBar.ProgressBarStyle style)
    • OwnProgressBar Link icon

      public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName)
    • OwnProgressBar Link icon

      public OwnProgressBar(float min, float max, float stepSize, boolean vertical, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
  • Method Details Link icon

    • setTitle Link icon

      public void setTitle(String title, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
    • getPrefWidth Link icon

      public float getPrefWidth()
      Specified by:
      getPrefWidth in interface com.badlogic.gdx.scenes.scene2d.utils.Layout
      Overrides:
      getPrefWidth in class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar
    • setPrefWidth Link icon

      public void setPrefWidth(float prefWidth)
    • getPrefHeight Link icon

      public float getPrefHeight()
      Specified by:
      getPrefHeight in interface com.badlogic.gdx.scenes.scene2d.utils.Layout
      Overrides:
      getPrefHeight in class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar
    • setPrefHeight Link icon

      public void setPrefHeight(float prefHeight)
    • draw Link icon

      public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha)
      Overrides:
      draw in class com.badlogic.gdx.scenes.scene2d.ui.ProgressBar