Interface EntityLinkField<V>

All Superinterfaces:
Component, Component.BelongToFrame, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Field<V>, HasContextHelp, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, HasValidator<V>, HasValue<V>, HasValueSource<V>, Requirable, Validatable
All Known Implementing Classes:
EntityLinkFieldImpl

public interface EntityLinkField<V> extends Field<V>, Component.Focusable
  • Field Details

  • Method Details

    • getScreen

      @Nullable String getScreen()
      Returns:
      an editor screen id
    • setScreen

      void setScreen(@Nullable String screen)
      Sets an editor screen id.
      Parameters:
      screen - an editor screen id
    • getOpenMode

      OpenMode getOpenMode()
      Returns:
      open mode for editor screen
    • setOpenMode

      void setOpenMode(OpenMode openMode)
      Sets open mode for editor screen.
      Parameters:
      openMode - open mode
    • getScreenParams

      @Nullable Map<String,Object> getScreenParams()
    • setScreenParams

      void setScreenParams(@Nullable Map<String,Object> params)
    • addEditorCloseListener

      Subscription addEditorCloseListener(Consumer<EntityLinkField.EditorCloseEvent> editorCloseListener)
      Adds editor close listener.
      Parameters:
      editorCloseListener - a listener to set
      Returns:
      subscription
    • getCustomClickHandler

      @Nullable Consumer<EntityLinkField> getCustomClickHandler()
      Returns:
      click handler
    • setCustomClickHandler

      void setCustomClickHandler(@Nullable Consumer<EntityLinkField> clickHandler)
      Sets a custom click handler to the field.
      Parameters:
      clickHandler - click handler
    • getMetaClass

      @Nullable MetaClass getMetaClass()
      Returns:
      a field meta class
    • setMetaClass

      void setMetaClass(@Nullable MetaClass metaClass)
      Sets field meta class.
      Parameters:
      metaClass - a field meta class
    • getOwner

      @Nullable ListComponent getOwner()
      Returns:
      owner list component
    • setOwner

      void setOwner(ListComponent owner)
      Sets an owner list component ListComponent to the field.
      Parameters:
      owner - owner list component