public class DialogConfirm
extends com.google.gwt.user.client.ui.DialogBox
implements com.google.gwt.event.dom.client.ClickHandler
com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
Constructor and Description |
---|
DialogConfirm(com.google.gwt.user.client.ui.Image img,
String title)
Instantiates a new dialog confirm.
|
Modifier and Type | Method and Description |
---|---|
void |
addToCenterPanel(com.google.gwt.user.client.ui.Widget w)
Adds the to center panel.
|
com.google.gwt.user.client.ui.DockPanel |
getDock()
Gets the dock.
|
com.google.gwt.user.client.ui.Button |
getYesButton()
Gets the yes button.
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText, show
clear, getCellElement, getWidget, iterator, remove, setWidget
addAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
public DialogConfirm(com.google.gwt.user.client.ui.Image img, String title)
img
- the imgtitle
- the titlepublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
public void addToCenterPanel(com.google.gwt.user.client.ui.Widget w)
w
- the wpublic com.google.gwt.user.client.ui.DockPanel getDock()
public com.google.gwt.user.client.ui.Button getYesButton()
Copyright © 2016. All Rights Reserved.