public class CmsUploadDialogImpl extends A_CmsUploadDialog
com.google.gwt.user.client.ui.PopupPanel.PositionCallbackm_context, m_dragAndDropMessage, m_scrollPanel, m_uploadedFilesm_closeCommand, m_notificationWidgetInstalled, m_windowWidth| 构造器和说明 |
|---|
CmsUploadDialogImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addFileInput(CmsFileInput fileInput)
Adds the given file input field to this dialog.
|
CmsListInfoBean |
createInfoBean(CmsFileInfo file)
Creates a bean that can be used for the list item widget.
|
java.lang.String |
getFileSizeTooLargeMessage(CmsFileInfo file)
Returns the massage for too large files.
|
boolean |
isTooLarge(CmsFileInfo cmsFileInfo)
Returns
true if the file is too large, false otherwise. |
void |
updateSummary()
Updates the file summary.
|
addCloseHandler, addFiles, cancelUpdateProgress, cancelUpload, createLoadingAnimation, disableOKButton, doResize, enableOKButton, getContentLength, getContentWrapper, getFilesToUnzip, getFilesToUpload, getFileText, getResourceType, getTargetFolder, getUploadService, getUploadUri, insertUploadForm, loadAndShow, onOkClick, parseResponse, proceedWorkflow, removeDragAndDropMessage, setContentLength, setContentWrapperHeight, setContext, setDragAndDropMessage, setIsTargetRootPath, setSummaryHTML, setTargetFolder, showErrorReport, submit, updateProgress, updateProgressBaradd, 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, 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 CmsListInfoBean createInfoBean(CmsFileInfo file)
A_CmsUploadDialogcreateInfoBean 在类中 A_CmsUploadDialogfile - the info to create the bean forA_CmsUploadDialog.createInfoBean(org.opencms.gwt.client.ui.input.upload.CmsFileInfo)public java.lang.String getFileSizeTooLargeMessage(CmsFileInfo file)
A_CmsUploadDialoggetFileSizeTooLargeMessage 在类中 A_CmsUploadDialogfile - the fileA_CmsUploadDialog.getFileSizeTooLargeMessage(org.opencms.gwt.client.ui.input.upload.CmsFileInfo)public boolean isTooLarge(CmsFileInfo cmsFileInfo)
A_CmsUploadDialogtrue if the file is too large, false otherwise.isTooLarge 在类中 A_CmsUploadDialogcmsFileInfo - the file to checktrue if the file is too large, false otherwiseA_CmsUploadDialog.isTooLarge(org.opencms.gwt.client.ui.input.upload.CmsFileInfo)public void updateSummary()
A_CmsUploadDialogupdateSummary 在类中 A_CmsUploadDialogA_CmsUploadDialog.updateSummary()protected void addFileInput(CmsFileInput fileInput)
addFileInput 在类中 A_CmsUploadDialogfileInput - the file input field to add