public class CmsUploadDialogFileApiImpl extends CmsUploadDialogFormDataImpl
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
m_context, m_dragAndDropMessage, m_scrollPanel, m_uploadedFiles
m_closeCommand, m_notificationWidgetInstalled, m_windowWidth
构造器和说明 |
---|
CmsUploadDialogFileApiImpl() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
addJsFiles, calculateContentLength, createInfoBean, removeDragAndDropMessage, setDragAndDropMessage
addCloseHandler, addFileInput, addFiles, cancelUpdateProgress, cancelUpload, createLoadingAnimation, disableOKButton, doResize, enableOKButton, getContentLength, getContentWrapper, getFilesToUnzip, getFilesToUpload, getFileText, getResourceType, getTargetFolder, getUploadService, getUploadUri, insertUploadForm, loadAndShow, onOkClick, parseResponse, proceedWorkflow, setContentLength, setContentWrapperHeight, setContext, setIsTargetRootPath, setSummaryHTML, setTargetFolder, showErrorReport, submit, updateProgress, updateProgressBar
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, 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 java.lang.String getFileSizeTooLargeMessage(CmsFileInfo file)
A_CmsUploadDialog
getFileSizeTooLargeMessage
在类中 CmsUploadDialogFormDataImpl
file
- the fileCmsUploadDialogFormDataImpl.getFileSizeTooLargeMessage(org.opencms.gwt.client.ui.input.upload.CmsFileInfo)
public boolean isTooLarge(CmsFileInfo cmsFileInfo)
A_CmsUploadDialog
true
if the file is too large, false
otherwise.isTooLarge
在类中 CmsUploadDialogFormDataImpl
cmsFileInfo
- 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_CmsUploadDialog