|
||||||||||
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.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.LayoutPanel
com.google.gwt.user.client.ui.ModalLayoutPanel
public class ModalLayoutPanel
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
ModalLayoutPanel()
|
Method Summary | |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<ModalLayoutPanel> handler)
|
void |
hide()
Hides the popup and detaches it from the page. |
void |
hide(boolean autoClosed)
Hides the popup and detaches it from the page. |
boolean |
isShowing()
Determines whether or not this popup is showing. |
boolean |
isVisible()
Determines whether or not this popup is visible. |
protected void |
onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event)
|
protected void |
onUnload()
|
void |
removeAutoHidePartner(com.google.gwt.dom.client.Element partner)
Remove an autoHide partner. |
void |
setVisible(boolean visible)
Sets whether this object is visible. |
void |
show()
Shows the popup and attach it to the page. |
Methods inherited from class com.google.gwt.user.client.ui.LayoutPanel |
---|
add, animate, animate, forceLayout, getWidgetContainerElement, insert, onLoad, onResize, remove, setWidgetBottomHeight, setWidgetHorizontalPosition, setWidgetLeftRight, setWidgetLeftWidth, setWidgetRightWidth, setWidgetTopBottom, setWidgetTopHeight, setWidgetVerticalPosition, setWidgetVisible |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public ModalLayoutPanel()
Method Detail |
---|
public com.google.gwt.event.shared.HandlerRegistration addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<ModalLayoutPanel> handler)
addCloseHandler
in interface com.google.gwt.event.logical.shared.HasCloseHandlers<ModalLayoutPanel>
public void hide()
public void hide(boolean autoClosed)
autoClosed
- the value that will be passed to
CloseHandler.onClose(CloseEvent)
when the popup is closedpublic boolean isShowing()
true
if the popup is showingshow()
,
hide()
public boolean isVisible()
visibility
style attribute, which is set in the
setVisible(boolean)
method. If you want to know if the popup is
attached to the page, use isShowing()
instead.
isVisible
in class com.google.gwt.user.client.ui.UIObject
true
if the object is visiblesetVisible(boolean)
public void removeAutoHidePartner(com.google.gwt.dom.client.Element partner)
partner
- the auto hide partner to removepublic void setVisible(boolean visible)
visibility
style attribute. You need to call show()
to actually attached/detach the PopupPanel
to the page.
setVisible
in class com.google.gwt.user.client.ui.UIObject
visible
- true
to show the object, false
to
hide itshow()
,
hide()
public void show()
protected void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event)
protected void onUnload()
onUnload
in class com.google.gwt.user.client.ui.LayoutPanel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |