public class CmsGalleryPopup extends CmsPopup implements I_CmsGalleryHandler
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
m_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, 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 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_CmsGalleryHandler
If 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_CmsGalleryHandler
resultBean
- the result for which drag-and-drop feasibility should be checkedI_CmsGalleryHandler.filterDnd(org.opencms.ade.galleries.shared.CmsResultItemBean)
public I_CmsAutoHider getAutoHideParent()
I_CmsGalleryHandler
getAutoHideParent
在接口中 I_CmsGalleryHandler
I_CmsGalleryHandler.getAutoHideParent()
public com.google.gwt.user.client.ui.Panel getContainer()
public CmsDNDHandler getDndHandler()
I_CmsGalleryHandler
getDndHandler
在接口中 I_CmsGalleryHandler
I_CmsGalleryHandler.getDndHandler()
public void processResultItem(CmsResultListItem item)
I_CmsGalleryHandler
processResultItem
在接口中 I_CmsGalleryHandler
item
- the item to processI_CmsGalleryHandler.processResultItem(org.opencms.ade.galleries.client.ui.CmsResultListItem)
public void searchElement(java.lang.String path)
path
- the element path