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 Type
    Method
    Description
    void
    Custom setup method for newly created file inputs.
    void
    Notifies the button handler that the file input field's value has changed.
    void
    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

      void onChange(CmsFileInput fileInput)
      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