public class ConfirmDialog
extends com.badlogic.gdx.scenes.scene2d.ui.Dialog
Constructor and Description |
---|
ConfirmDialog(java.lang.String message,
com.badlogic.gdx.scenes.scene2d.utils.ClickListener clickListener)
Creates the confirm dialog with the given confirmation message as a title.
|
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.scenes.scene2d.ui.TextButton |
getConfirmButton()
Returns the "Yes" button clicked when the user confirms his choice.
|
void |
setMessage(java.lang.String message) |
button, button, button, button, button, cancel, getButtonTable, getContentTable, hide, key, setObject, show, text, text, text
draw, getPrefWidth, getStyle, getTitle, getTitleWidth, hit, isDragging, isModal, isMovable, isResizable, setKeepWithinStage, setModal, setMovable, setResizable, setResizeBorder, setStyle, setTitle, setTitleAlignment
add, add, add, add, add, add, align, bottom, center, clearChildren, columnDefaults, debug, debug, debugCell, debugTable, debugWidget, defaults, drawDebug, getAlign, getBackground, getCell, getCells, getClip, getDebug, getMinHeight, getMinWidth, getPadBottom, getPadBottomValue, getPadLeft, getPadLeftValue, getPadRight, getPadRightValue, getPadTop, getPadTopValue, getPadX, getPadY, getPrefHeight, getRow, invalidate, layout, left, pad, pad, pad, pad, padBottom, padBottom, padLeft, padLeft, padRight, padRight, padTop, padTop, removeActor, reset, right, row, setBackground, setBackground, setClip, setRound, setSkin, stack, top
getMaxHeight, getMaxWidth, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, validate
act, addActor, addActorAfter, addActorAt, addActorBefore, clear, findActor, getChildren, hasChildren, isTransform, localToDescendantCoordinates, print, setCullingArea, setTransform, swapActor, swapActor
addAction, addCaptureListener, addListener, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, fire, getActions, getCaptureListeners, getColor, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getY, getZIndex, hasParent, isAscendantOf, isDescendantOf, isTouchable, isVisible, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, notify, parentToLocalCoordinates, remove, removeAction, removeCaptureListener, removeListener, rotate, scale, scale, screenToLocalCoordinates, setBounds, setColor, setColor, setHeight, setName, setOrigin, setOriginX, setOriginY, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setY, setZIndex, size, size, stageToLocalCoordinates, toBack, toFront, toString, translate
public ConfirmDialog(java.lang.String message, com.badlogic.gdx.scenes.scene2d.utils.ClickListener clickListener)