|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.ModalPanel
public class ModalPanel
A panel that grays out the view port and displays a widget above it.
| Nested Class Summary | |
|---|---|
static interface |
ModalPanel.ModalPanelAppearance
|
static class |
ModalPanel.ModalPanelDefaultAppearance
|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ModalPanel()
Creates a new model panel. |
|
ModalPanel(ModalPanel.ModalPanelAppearance appearance)
Creates a model panel with the specified appearance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModalPanel()
public ModalPanel(ModalPanel.ModalPanelAppearance appearance)
appearance - the appearance of the modal panel| Method Detail |
|---|
public static ModalPanel pop()
public static void push(ModalPanel panel)
panel - the panelpublic BaseEventPreview getEventPreview()
public void hide()
hide in class Componentpublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||