Package com.prineside.tdi2.ui.actors
Class RectButton
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.Group
com.prineside.tdi2.ui.actors.ComplexButton
com.prineside.tdi2.ui.actors.RectButton
- All Implemented Interfaces:
 com.badlogic.gdx.scenes.scene2d.utils.Cullable
Label и QuadActor всегда занимают всю кнопку и по центру
- 
Field Summary
Fields inherited from class com.prineside.tdi2.ui.actors.ComplexButton
background, backgroundShadow, customLabelPos, holdHintIcon, icon, iconShadow, label, labelShadow - 
Constructor Summary
ConstructorsConstructorDescriptionRectButton(CharSequence text, com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle labelStyle, Runnable clickHandler)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled when the actor's position has been changed.protected voidCalled when the actor's size has been changed.Methods inherited from class com.prineside.tdi2.ui.actors.ComplexButton
setBackground, setBackgroundColors, setClickHandler, setEnabled, setHoldHintIconBright, setIcon, setIcon, setIconColors, setIconLabelColors, setIconLabelShadowEnabled, setLabel, setLabelColors, setMuted, setText, setTextMethods inherited from class com.badlogic.gdx.scenes.scene2d.Group
act, addActor, addActorAfter, addActorAt, addActorBefore, applyTransform, applyTransform, childrenChanged, clear, clear, clearChildren, clearChildren, computeTransform, debugAll, draw, drawChildren, drawDebug, drawDebugChildren, findActor, getChild, getChildren, getCullingArea, hasChildren, hit, isTransform, localToDescendantCoordinates, removeActor, removeActor, removeActorAt, resetTransform, resetTransform, setCullingArea, setDebug, setStage, setTransform, swapActor, swapActor, toStringMethods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, 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, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, 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, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront 
- 
Constructor Details
- 
RectButton
public RectButton(CharSequence text, com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle labelStyle, Runnable clickHandler)  
 - 
 - 
Method Details
- 
positionChanged
protected void positionChanged()Description copied from class:com.badlogic.gdx.scenes.scene2d.ActorCalled when the actor's position has been changed.- Overrides:
 positionChangedin classcom.badlogic.gdx.scenes.scene2d.Actor
 - 
sizeChanged
protected void sizeChanged()Description copied from class:com.badlogic.gdx.scenes.scene2d.ActorCalled when the actor's size has been changed.- Overrides:
 sizeChangedin classcom.badlogic.gdx.scenes.scene2d.Actor
 
 -