public class TractionDialogBox extends DialogBox implements HasOpenHandlers<TractionDialogBox>
Modifier and Type | Class and Description |
---|---|
static class |
TractionDialogBox.TractionCaption |
DialogBox.Caption, DialogBox.CaptionImpl
PopupPanel.PositionCallback
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
Constructor and Description |
---|
TractionDialogBox(boolean autoHide,
boolean modal) |
TractionDialogBox(boolean autoHide,
boolean modal,
boolean showCloseIcon) |
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addOpenHandler(OpenHandler<TractionDialogBox> handler) |
void |
adjustGlassSize()
This can be called to adjust the size of the dialog glass.
|
FlowPanel |
getControlPanel()
Returns the FlowPanel that contains the controls.
|
protected void |
onCloseClick(ClickEvent event)
Called when the close icon is clicked.
|
void |
setCloseIconVisible(boolean visible) |
void |
setWidget(Widget widget) |
void |
show()
Overrides show to call
adjustGlassSize() if the dialog
is already showing and fires an OpenEvent after the
normal show. |
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText
clear, getCellElement, getWidget, iterator, remove
addAutoHidePartner, addCloseHandler, addPopupListener, center, 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, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
add, setWidget
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fireEvent
public TractionDialogBox(boolean autoHide, boolean modal)
public TractionDialogBox(boolean autoHide, boolean modal, boolean showCloseIcon)
public void setWidget(Widget widget)
setWidget
in interface HasOneWidget
setWidget
in class DecoratedPopupPanel
public void setCloseIconVisible(boolean visible)
public FlowPanel getControlPanel()
protected void onCloseClick(ClickEvent event)
public HandlerRegistration addOpenHandler(OpenHandler<TractionDialogBox> handler)
addOpenHandler
in interface HasOpenHandlers<TractionDialogBox>
public void show()
adjustGlassSize()
if the dialog
is already showing and fires an OpenEvent
after the
normal show.public void adjustGlassSize()
Copyright © 2015. All Rights Reserved.