INFO
- the type of list info bean which should be used as select optionspublic abstract class A_CmsListItemSelectDialog<INFO extends CmsListInfoBean> extends CmsPopup
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
构造器和说明 |
---|
A_CmsListItemSelectDialog(java.util.List<INFO> itemInfos,
java.lang.String title,
java.lang.String message)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
center() |
protected void |
ensureChecked(CmsUUID structureId)
Makes sure the item with the given structure id is checked.
|
protected abstract void |
handleSelection(INFO info)
The method that will be called with the selected item when the user clicks on OK.
|
protected void |
onClickOk()
Creates the new element with selected model resource.
|
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
public A_CmsListItemSelectDialog(java.util.List<INFO> itemInfos, java.lang.String title, java.lang.String message)
itemInfos
- the list info beans for the possible select optionstitle
- the title for the model selection dialogmessage
- the message to display in the model selection dialogpublic void center()
center
在类中 CmsPopup
CmsPopup.center()
public void show()
show
在类中 CmsPopup
CmsPopup.show()
protected void ensureChecked(CmsUUID structureId)
structureId
- the structure idprotected abstract void handleSelection(INFO info)
info
- the selected itemprotected void onClickOk()