public abstract class GGButtonBase extends Actor
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isEnabled()
Returns true if button is enabled. 
 | 
void | 
setEnabled(boolean enable)
Enable/Disable button actions. 
 | 
void | 
setHotspotArea(android.graphics.Point center,
              int width,
              int height)
Selects the rectangle (in pixel units) relative to the button image as
 active mouse area. 
 | 
void | 
setRefreshEnabled(boolean enable)
Enables/disables automatic refresh of game grid on button actions. 
 | 
act, addActorCollisionListener, addActorTouchListener, addActorTouchListener, addBorderListener, addCollisionActor, addCollisionActors, addCollisionTile, addCollisionTiles, addTileCollisionListener, collide, collide, containsPixel, delay, displace, getBackground, getCollisionActors, getCollisionActorsInRange, getCollisionTiles, getCurrentImage, getDirection, getDirectionStart, getDisplacePosition, getHeight, getIdVisible, getImage, getImage, getIntDirection, getLocation, getLocationOffset, getLocationStart, getNbCycles, getNbHorzCells, getNbSprites, getNbVertCells, getNeighbours, getNeighbours, getNextMoveLocation, getPixelColor, getPixelLocation, getRotatedImage, getRotatedPosition, getRotationIndex, getScaledImage, getScaledImage, getScaledImage, getSlowDown, getWidth, getX, getXStart, getY, getYStart, getZoomedImage, hide, isActEnabled, isActorCollisionEnabled, isHorzMirror, isInGrid, isMoveValid, isNearBorder, isRemoved, isRotatable, isTileCollisionEnabled, isVertMirror, isVisible, move, move, nearBorder, removeSelf, reset, rotate, rotate, setActEnabled, setActorCollisionEnabled, setActorTouchCircle, setActorTouchCircle, setActorTouchEnabled, setActorTouchImage, setActorTouchImage, setActorTouchRectangle, setActorTouchRectangle, setCollisionCircle, setCollisionCircle, setCollisionImage, setCollisionImage, setCollisionLine, setCollisionLine, setCollisionRectangle, setCollisionRectangle, setCollisionSpot, setCollisionSpot, setDirection, setDirection, setDisplacePosition, setHorzMirror, setLocation, setLocationOffset, setLocationOffset, setOnBottom, setOnTop, setPixelLocation, setSlowDown, setTileCollisionEnabled, setVertMirror, setX, setY, show, show, showNextSprite, showPreviousSprite, turnpublic void setEnabled(boolean enable)
enable - if true, the button actions are enabled; otherwise disabledpublic boolean isEnabled()
public void setRefreshEnabled(boolean enable)
enable - if true, the automatic refresh on button action is enable;
 otherwise disabledpublic void setHotspotArea(android.graphics.Point center,
                  int width,
                  int height)
center - the rectangle center (zero at image center)width - the width in pixel units of the rectangle (in x-direction)height - the height in pixel units of the rectangle (in y-direction)