Interface I_CmsUploadButton
-
- All Known Implementing Classes:
CmsUploadButton
,CmsUploadButton
public interface I_CmsUploadButton
The upload button interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CmsFileInput
createFileInput()
Creates and adds a file input.I_CmsUploadButtonHandler
getButtonHandler()
Gets the upload button handler instance for this button.void
reinitButton(I_CmsUploadButtonHandler buttonHandler)
Reinitializes the button with a new button handler.void
setEnabled(boolean enabled, java.lang.String disabledMessage)
Enables / disables the button.
-
-
-
Method Detail
-
createFileInput
CmsFileInput createFileInput()
Creates and adds a file input.- Returns:
- returns the previous file input widget
-
getButtonHandler
I_CmsUploadButtonHandler getButtonHandler()
Gets the upload button handler instance for this button.- Returns:
- the upload button handler
-
reinitButton
void reinitButton(I_CmsUploadButtonHandler buttonHandler)
Reinitializes the button with a new button handler.- Parameters:
buttonHandler
- the button handler
-
setEnabled
void setEnabled(boolean enabled, java.lang.String disabledMessage)
Enables / disables the button.- Parameters:
enabled
- true if the button should be enableddisabledMessage
- the message to display for disabled buttons
-
-