Class HtmlEditorView

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.messagetemplatesflowui.view.htmleditor.HtmlEditorView
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.BeforeLeaveObserver, com.vaadin.flow.router.HasDynamicTitle, com.vaadin.flow.router.internal.AfterNavigationHandler, com.vaadin.flow.router.internal.BeforeEnterHandler, com.vaadin.flow.router.internal.BeforeLeaveHandler, FragmentOwner, ReadOnlyAwareView, Serializable

@ViewController("msgtmp_HtmlEditorView") @ViewDescriptor("html-editor-view.xml") @DialogMode(width="75em", height="45em", resizable=true) public class HtmlEditorView extends StandardView implements ReadOnlyAwareView
See Also:
  • Field Details

  • Constructor Details

    • HtmlEditorView

      public HtmlEditorView()
  • Method Details

    • setHtml

      public void setHtml(String html)
    • getHtml

      public String getHtml()
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in interface ReadOnlyAwareView
      Returns:
      whether a view is in read-only mode.
    • setReadOnly

      public void setReadOnly(boolean readOnly)
      Description copied from interface: ReadOnlyAwareView
      Changes the read-only mode.
      Specified by:
      setReadOnly in interface ReadOnlyAwareView
      Parameters:
      readOnly - true to enable the read-only mode, false otherwise
    • onSaveAction

      @Subscribe("saveAction") public void onSaveAction(ActionPerformedEvent event)