Class FxTextFieldDelegate

    • Constructor Detail

      • FxTextFieldDelegate

        public FxTextFieldDelegate​(FxTextField component)
        Creates the delegate.
        Parameters:
        component - the component
    • Method Detail

      • 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
      • 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
      • setMaxColumns

        public void setMaxColumns​(int maxColumns)
        Description copied from interface: FxTextComponent
        Sets the maximum number of columns.
        The number of columns will be enforced by the model.
        Specified by:
        setMaxColumns in interface FxTextComponent
        Overrides:
        setMaxColumns in class FxTextComponentDelegate
        Parameters:
        maxColumns - the maximum number of columns, 0 if unlimited (default)