Interface I_CmsUploadButtonHandler
- All Known Implementing Classes:
CmsDialogUploadButtonHandler,CmsReplaceHandler,CmsSingleFileUploadHandler
public interface I_CmsUploadButtonHandler
Handler interface for upload buttons which is mainly used to perform actions when the selected file
in a file input has been changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeFileInput(CmsFileInput fileInput) Custom setup method for newly created file inputs.voidonChange(CmsFileInput fileInput) Notifies the button handler that the file input field's value has changed.voidsetButton(I_CmsUploadButton button) This method should be called when the handler is set on a button.
-
Method Details
-
initializeFileInput
Custom setup method for newly created file inputs.- Parameters:
fileInput- the new file input
-
onChange
Notifies the button handler that the file input field's value has changed.- Parameters:
fileInput- the file input
-
setButton
This method should be called when the handler is set on a button.- Parameters:
button- the button for which the handler instance has been set
-