Class RemoteFieldWrapper

All Implemented Interfaces:
Component, InputComponent, LabeledComponent, Field, RemoteField, Selectable, DataComponent
Direct Known Subclasses:
MultiRemoteFieldWrapper

@Deprecated public class RemoteFieldWrapper extends InputComponentWrapper implements RemoteField
Deprecated.
  • Constructor Details

  • Method Details

    • isMultiple

      public boolean isMultiple()
      Deprecated.
      Specified by:
      isMultiple in interface Selectable
    • getMinChars

      public int getMinChars()
      Deprecated.
      Specified by:
      getMinChars in interface RemoteField
    • setMinChars

      public void setMinChars(int minChars)
      Deprecated.
      Specified by:
      setMinChars in interface RemoteField
    • getDisplayCreateButton

      public Boolean getDisplayCreateButton()
      Deprecated.
      Specified by:
      getDisplayCreateButton in interface RemoteField
    • setDisplayCreateButton

      public void setDisplayCreateButton(Boolean displayCreateButton)
      Deprecated.
      Specified by:
      setDisplayCreateButton in interface RemoteField
    • getDataSourceProps

      public Map<String,Object> getDataSourceProps()
      Deprecated.
      Description copied from interface: RemoteField
      The entity system uses:
      • 'scope' eg 'list' WARNING i believe the case is different, maybe in the form of 'List' now. also it may not be the scope you expect. it's from the remote field config, not the current form scope.
      • 'source' eg 'Address'
      • 'entityType' eg 'STANDARD' (enum)
      • 'allowCreate' boolean
      Specified by:
      getDataSourceProps in interface RemoteField
      Returns:
      See above for the list of params. They depend on which backend is using the field.
    • setDataSourceProps

      public void setDataSourceProps(Map<String,Object> dataSourceProps)
      Deprecated.
      Specified by:
      setDataSourceProps in interface RemoteField
    • mapAllAttributesTo

      public <T extends LabeledComponent & DataComponent> void mapAllAttributesTo(T comp)
      Deprecated.
      Description copied from interface: Field
      Copy all defaults to the target-component
      Specified by:
      mapAllAttributesTo in interface Field
      Parameters:
      comp - component