public class CmsFramePopup extends CmsPopup
It also exports a Javascript function to close the popup when given the id of the popup.
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.Runnable |
m_closeHandler
The handler which is called when the popup closes itself.
|
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
构造器和说明 |
---|
CmsFramePopup(java.lang.String title,
java.lang.String url)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
center() |
protected void |
exportCloseFunction()
Exports a Javascript function 'cmsCloseDialog', which, when passed the id of a CmsFramePopup as a parameter, will close that dialog.
|
com.google.gwt.user.client.ui.Frame |
getFrame()
Returns the frame contained in this popup.
|
void |
hideDelayed()
Hide the popup, but only after the current event has been processed.
|
void |
setCloseHandler(java.lang.Runnable closeHandler)
Sets the handler which should be called when the popup closes itself.
|
protected void |
setGroupFormValue()
test.
|
void |
setId(java.lang.String id)
Sets the id of this IFrame popup.
|
void |
show() |
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, centerHorizontally, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, clear, continueDragging, createDialogNotificationWidget, doAttachChildren, doDetachChildren, endDragging, getAvailableHeight, getCaption, getChildren, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, getWidth, hasCaption, hide, insert, insert, insertFront, installNotificationWidget, iterator, onBrowserEvent, onDetach, onPreviewNativeEvent, remove, remove, removeAllButtons, removeButton, removePadding, setBackgroundColor, setCaption, setHeight, setHeight, setMainContent, setPixelSize, setPositionFixed, setSize, setSpecialBackgroundClass, setUseAnimation, setWidget, setWidth, setWidth, showArrow, wrapWithBorderPadding
addAutoHidePartner, addCloseHandler, addPopupListener, 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, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeTo
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled
protected java.lang.Runnable m_closeHandler
public CmsFramePopup(java.lang.String title, java.lang.String url)
title
- the title of the popup dialogurl
- the URL which should be opened in the popuppublic void center()
center
在类中 CmsPopup
CmsPopup.center()
public com.google.gwt.user.client.ui.Frame getFrame()
public void hideDelayed()
public void setCloseHandler(java.lang.Runnable closeHandler)
closeHandler
- the "close" handlerpublic void setId(java.lang.String id)
The popup can be closed by calling the cmsCloseDialog Javascript function with the same id as a parameter.
id
- the new idpublic void show()
show
在类中 CmsPopup
CmsPopup.show()
protected void exportCloseFunction()
protected void setGroupFormValue()