Package com.orchestranetworks.ui.form.widget

# 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:
  - `UIWidgetFileUpload`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UIWidgetFileUploadFactory()`
  Factory constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UIWidgetFileUpload`
  `newInstance(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.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UIWidgetFileUploadFactory

    public UIWidgetFileUploadFactory()
    Factory constructor.

- ## Method Details

  - ### newInstance

    public UIWidgetFileUpload newInstance(WidgetFactoryContext aContext)
    Description copied from interface: `UIWidgetFactory`
    Creates and returns a new instance of widget.
    Specified by:
      `newInstance` in interface `UIWidgetFactory<UIWidgetFileUpload>`

  - ### setup

    public void setup(WidgetFactorySetupContext aContext)
    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 interface `UIWidgetFactory<UIWidgetFileUpload>`