Class FxTableViewDelegate

    • Constructor Detail

      • FxTableViewDelegate

        public FxTableViewDelegate​(FxTableView<?> component)
        Creates the delegate.
        Parameters:
        component - the component
    • Method Detail

      • setType

        public void setType​(java.lang.Class<?> type)
        Description copied from interface: FxComponent
        Sets the type for this component.

        Notice that the type can be applied only once. This is because previously installed listeners could cause memleaks.

        Specified by:
        setType in interface FxComponent
        Overrides:
        setType in class FxComponentDelegate
        Parameters:
        type - the type
      • getViewObject

        public javafx.collections.ObservableList 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
      • updateChangeable

        protected void updateChangeable​(boolean changeable)
        Description copied from class: FxControlDelegate
        Updates other properties if changeable is bound to something else.
        Overrides:
        updateChangeable in class FxComponentDelegate
        Parameters:
        changeable - the flag
      • setContainerChangeable

        public void setContainerChangeable​(boolean containerChangeable)
        Description copied from interface: FxControl
        Invoked when setChangeable() is invoked on the container of this component.
        Specified by:
        setContainerChangeable in interface FxControl
        Overrides:
        setContainerChangeable in class FxComponentDelegate
        Parameters:
        containerChangeable - true if container is changeable, false if all components readonly