Class FxHTMLEditorDelegate

    • Constructor Detail

      • FxHTMLEditorDelegate

        public FxHTMLEditorDelegate​(FxHTMLEditor component)
        Creates the delegate.
        Parameters:
        component - the component
    • Method Detail

      • setColumns

        public void setColumns​(int columns)
        Description copied from interface: FxTextComponent
        Sets the number of columns in this component.
        The visible width is adjusted according to the current font.
        Parameters:
        columns - the number of columns ≥ 0
      • getColumns

        public int getColumns()
        Description copied from interface: FxTextComponent
        Gets the columns.
        Returns:
        the columns
      • getViewObject

        public java.lang.String getViewObject()
        Description copied from interface: FxComponent
        Retrieves the internal native object of the component.
        Returns:
        the component's object
      • setViewObject

        public void setViewObject​(java.lang.Object viewObject)
        Description copied from interface: FxComponent
        Sets the internal native object of the component.
        Parameters:
        viewObject - the internal object
      • setViewValue

        public void setViewValue​(java.lang.Object value)
        Description copied from interface: FxComponent
        Sets a value in this component.
        The value's type is that of the model.
        Parameters:
        value - is the value to set
      • getViewValue

        public <V> V getViewValue()
        Description copied from interface: FxComponent
        Retrieves the value from this component.
        The value's type is that of the model.
        Type Parameters:
        V - the value's type
        Returns:
        the value shown by the component
      • mapErrorOffsetToCaretPosition

        public void mapErrorOffsetToCaretPosition()
        Description copied from interface: FxTextComponent
        Sets the caret position according to the error offset.
        Does nothing if error offset is null.