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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initializeFileInput(CmsFileInput fileInput)
Custom setup method for newly created file inputs.void
onChange(CmsFileInput fileInput)
Notifies the button handler that the file input field's value has changed.void
setButton(I_CmsUploadButton button)
This method should be called when the handler is set on a button.
-
-
-
Method Detail
-
initializeFileInput
void initializeFileInput(CmsFileInput fileInput)
Custom setup method for newly created file inputs.- Parameters:
fileInput
- the new file input
-
onChange
void onChange(CmsFileInput fileInput)
Notifies the button handler that the file input field's value has changed.- Parameters:
fileInput
- the file input
-
setButton
void setButton(I_CmsUploadButton button)
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
-
-