Class FxCheckBoxDelegate

    • Constructor Detail

      • FxCheckBoxDelegate

        public FxCheckBoxDelegate​(FxCheckBox 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 java.lang.Boolean 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