Package com.prineside.tdi2.ui.actors
Class PaddedImageButton
java.lang.Object
com.prineside.tdi2.scene2d.Actor
com.prineside.tdi2.scene2d.Group
com.prineside.tdi2.ui.actors.PaddedImageButton
- All Implemented Interfaces:
 Cullable
Прозрачная кнопка с изображением.
 Меняется цвет изображения (значка)
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetIcon()voidvoidsetClickHandler(Runnable clickHandler) voidvoidsetDisabledColor(Color color) voidsetEnabled(boolean enabled) setIconPosition(float x, float y) setIconSize(float width, float height) voidvoidMethods inherited from class com.prineside.tdi2.scene2d.Group
act, addActor, addActorAfter, addActorAt, addActorBefore, clear, clear, clearChildren, clearChildren, debugAll, draw, drawDebug, findActor, getChild, getChildren, getCullingArea, hasChildren, hit, isTransform, localToDescendantCoordinates, removeActor, removeActor, removeActorAt, setCullingArea, setDebug, setTransform, swapActor, swapActor, toStringMethods inherited from class com.prineside.tdi2.scene2d.Actor
addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, 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, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront 
- 
Field Details
- 
disableClickThrough
public boolean disableClickThrough 
 - 
 - 
Constructor Details
- 
PaddedImageButton
 
 - 
 - 
Method Details
- 
getClickHandler
 - 
setClickHandler
 - 
setShadow
 - 
hideShadow
public void hideShadow() - 
getDisabledColor
 - 
setColors
 - 
setDisabledColor
 - 
setEnabled
public void setEnabled(boolean enabled)  - 
setIconSize
 - 
setIcon
 - 
setIconPosition
 - 
getIcon
 - 
updateColors
public void updateColors() 
 -