public class CmsGalleryPopup extends CmsPopup implements I_CmsGalleryHandler
com.google.gwt.user.client.ui.PopupPanel.PositionCallbackm_closeCommand, m_notificationWidgetInstalled, m_windowWidth| 构造器和说明 |
|---|
CmsGalleryPopup(I_CmsGalleryWidgetHandler handler,
I_CmsGalleryConfiguration conf)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
filterDnd(CmsResultItemBean resultBean)
This method is used to disable drag-and-drop for specific results.
|
I_CmsAutoHider |
getAutoHideParent()
Gets the auto-hide parent.
|
com.google.gwt.user.client.ui.Panel |
getContainer()
Returns the popup content.
|
CmsDNDHandler |
getDndHandler()
Gets the drag-and-drop handler for the result list.
|
void |
processResultItem(CmsResultListItem item)
Processes a result list item.
|
void |
searchElement(java.lang.String path)
Searches for a specific element and opens it's preview if found.
|
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, wrapWithBorderPaddingaddAutoHidePartner, 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, showRelativeToaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabledpublic CmsGalleryPopup(I_CmsGalleryWidgetHandler handler, I_CmsGalleryConfiguration conf)
handler - the widget handler, used to set the widgets valueconf - the gallery configurationpublic boolean filterDnd(CmsResultItemBean resultBean)
I_CmsGalleryHandlerIf this returns false, drag and drop should be disabled for the result (however, if true is returned, this does not automatically mean that drag and drop should be enabled.)
filterDnd 在接口中 I_CmsGalleryHandlerresultBean - the result for which drag-and-drop feasibility should be checkedI_CmsGalleryHandler.filterDnd(org.opencms.ade.galleries.shared.CmsResultItemBean)public I_CmsAutoHider getAutoHideParent()
I_CmsGalleryHandlergetAutoHideParent 在接口中 I_CmsGalleryHandlerI_CmsGalleryHandler.getAutoHideParent()public com.google.gwt.user.client.ui.Panel getContainer()
public CmsDNDHandler getDndHandler()
I_CmsGalleryHandlergetDndHandler 在接口中 I_CmsGalleryHandlerI_CmsGalleryHandler.getDndHandler()public void processResultItem(CmsResultListItem item)
I_CmsGalleryHandlerprocessResultItem 在接口中 I_CmsGalleryHandleritem - the item to processI_CmsGalleryHandler.processResultItem(org.opencms.ade.galleries.client.ui.CmsResultListItem)public void searchElement(java.lang.String path)
path - the element path