Class UIWidgetFileUploadFactory
java.lang.Object
com.orchestranetworks.ui.form.widget.UIWidgetFileUploadFactory
- All Implemented Interfaces:
UIWidgetFactory<UIWidgetFileUpload>
public class UIWidgetFileUploadFactory
extends Object
implements UIWidgetFactory<UIWidgetFileUpload>
Widget factory for an upload file field.
- Since:
- 5.8.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(WidgetFactoryContext aContext) Creates and returns a new instance of widget.void
setup
(WidgetFactorySetupContext aContext) Checks and prepares this instance if called while the data model is being loaded.
-
Constructor Details
-
UIWidgetFileUploadFactory
public UIWidgetFileUploadFactory()Factory constructor.
-
-
Method Details
-
newInstance
Description copied from interface:UIWidgetFactory
Creates and returns a new instance of widget.- Specified by:
newInstance
in interfaceUIWidgetFactory<UIWidgetFileUpload>
-
setup
Description copied from interface:UIWidgetFactory
Checks and prepares this instance if called while the data model is being loaded.Do note that during this step, all models may not be properly loaded. Thus, the repository should not be accessed during this step.
This method is not called by the method
UIFormWriter.newCustomWidget(Path, UIWidgetFactory)
.- Specified by:
setup
in interfaceUIWidgetFactory<UIWidgetFileUpload>
-