Package gaiasky.util.scene2d
Class TextureWidget
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.ui.Widget
gaiasky.util.scene2d.TextureWidget
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Layout
public class TextureWidget
extends com.badlogic.gdx.scenes.scene2d.ui.Widget
-
Constructor Summary
Constructors Constructor Description TextureWidget(com.badlogic.gdx.graphics.glutils.FrameBuffer fb) -
Method Summary
Modifier and Type Method Description voiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha)floatgetMaxHeight()floatgetMaxWidth()floatgetMinHeight()floatgetMinWidth()floatgetPrefHeight()floatgetPrefWidth()Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Widget
invalidate, invalidateHierarchy, layout, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validateMethods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
act, 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TextureWidget
public TextureWidget(com.badlogic.gdx.graphics.glutils.FrameBuffer fb)
-
-
Method Details
-
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha)- Overrides:
drawin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getMinWidth
public float getMinWidth()- Specified by:
getMinWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getMinWidthin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getMinHeight
public float getMinHeight()- Specified by:
getMinHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getMinHeightin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getPrefWidth
public float getPrefWidth()- Specified by:
getPrefWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getPrefWidthin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getPrefHeight
public float getPrefHeight()- Specified by:
getPrefHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getPrefHeightin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getMaxWidth
public float getMaxWidth()- Specified by:
getMaxWidthin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getMaxWidthin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-
getMaxHeight
public float getMaxHeight()- Specified by:
getMaxHeightin interfacecom.badlogic.gdx.scenes.scene2d.utils.Layout- Overrides:
getMaxHeightin classcom.badlogic.gdx.scenes.scene2d.ui.Widget
-