public class ModalPanel extends Component
Modifier and Type | Class and Description |
---|---|
static interface |
ModalPanel.ModalPanelAppearance |
static class |
ModalPanel.ModalPanelDefaultAppearance |
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
Constructor and Description |
---|
ModalPanel()
Creates a new model panel.
|
ModalPanel(ModalPanel.ModalPanelAppearance appearance)
Creates a model panel with the specified appearance.
|
Modifier and Type | Method and Description |
---|---|
ModalPanel.ModalPanelAppearance |
getAppearance() |
BaseEventPreview |
getEventPreview()
Returns the panel's event preview.
|
void |
hide()
Hides the panel.
|
boolean |
isBlink()
Returns true if blinking is enabled.
|
static ModalPanel |
pop()
Returns a ModalPanel from the stack.
|
static void |
push(ModalPanel panel)
Pushes a panel back onto the stack.
|
void |
setBlink(boolean blink)
True to blink the widget being displayed when the use clicks outside of the
widgets bounds (defaults to false).
|
void |
show(Component component)
Displays the panel.
|
void |
syncModal()
Syncs to the viewport.
|
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getShadowPosition, getStateId, getTabIndex, getToolTip, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, onBrowserEvent, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setShadowPosition, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString
public ModalPanel()
public ModalPanel(ModalPanel.ModalPanelAppearance appearance)
appearance
- the appearance of the modal panelpublic static ModalPanel pop()
public static void push(ModalPanel panel)
panel
- the panelpublic ModalPanel.ModalPanelAppearance getAppearance()
public BaseEventPreview getEventPreview()
public boolean isBlink()
public void setBlink(boolean blink)
blink
- true to blinkpublic void show(Component component)
component
- the component displayed above this modal panel.public void syncModal()
Copyright © 2015. All rights reserved.