public class CmsAvailabilityDialog extends CmsPopup implements I_CmsHasContextMenuCommand
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
限定符和类型 | 字段和说明 |
---|---|
protected CmsAvailabilityInfoBean |
m_availabilityInfo
The bean that stores the dialog data.
|
protected CmsUUID |
m_structureId
The structure id of the resource.
|
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
构造器和说明 |
---|
CmsAvailabilityDialog(CmsUUID structureId)
Creates the availability dialog.
|
CmsAvailabilityDialog(CmsUUID structureId,
java.lang.String iconClass)
Creates the availability dialog.
|
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
checkNotificationInterval()
Checks if the notification interval is a positive integer.
|
static I_CmsContextMenuCommand |
getContextMenuCommand()
Returns the context menu command according to
I_CmsHasContextMenuCommand . |
protected com.google.gwt.user.client.ui.FlowPanel |
getPanel()
Returns the content panel.
|
void |
loadAndShow()
Executes the RPC action to retrieve the bean that stores the information for this dialog.
|
protected void |
onNotificationCheckboxClick()
When the notification checkbox is clicked the according textbox is enabled/disabled.
|
protected void |
onSubmit()
On submit the availability dialog is validated, the bean is sent to the server and the dialog will be closed.
|
protected void |
showDialog(CmsAvailabilityInfoBean dialogBean)
This method creates the dialog components.
|
add, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, center, 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, show, 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 CmsAvailabilityInfoBean m_availabilityInfo
protected CmsUUID m_structureId
public CmsAvailabilityDialog(CmsUUID structureId)
structureId
- the structure id of the resource to create the dialog forpublic CmsAvailabilityDialog(CmsUUID structureId, java.lang.String iconClass)
structureId
- the structure id of the resource to create the dialog foriconClass
- icon class to override the resource type iconpublic static I_CmsContextMenuCommand getContextMenuCommand()
I_CmsHasContextMenuCommand
.public void loadAndShow()
After the information has been retrieved the dialog will be opened.
protected boolean checkNotificationInterval()
true
if the notification interval is a positive integerprotected com.google.gwt.user.client.ui.FlowPanel getPanel()
protected void onNotificationCheckboxClick()
protected void onSubmit()
protected void showDialog(CmsAvailabilityInfoBean dialogBean)
dialogBean
- the bean that stores the dialog information