public class CmsUploadDialogImpl extends A_CmsUploadDialog
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
m_context, m_dragAndDropMessage, m_scrollPanel, m_uploadedFiles
m_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, 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 CmsListInfoBean createInfoBean(CmsFileInfo file)
A_CmsUploadDialog
createInfoBean
在类中 A_CmsUploadDialog
file
- 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_CmsUploadDialog
getFileSizeTooLargeMessage
在类中 A_CmsUploadDialog
file
- the fileA_CmsUploadDialog.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
在类中 A_CmsUploadDialog
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
updateSummary
在类中 A_CmsUploadDialog
A_CmsUploadDialog.updateSummary()
protected void addFileInput(CmsFileInput fileInput)
addFileInput
在类中 A_CmsUploadDialog
fileInput
- the file input field to add