Class ComponentPropertyModel<T>

    • Constructor Detail

      • ComponentPropertyModel

        public ComponentPropertyModel​(String propertyName)
        Constructor
        Parameters:
        propertyName - The name of the property to reference
    • Method Detail

      • getObject

        public T getObject()
        Description copied from interface: IModel
        Gets the model object.
        Specified by:
        getObject in interface IModel<T>
        Returns:
        The model object
      • setObject

        public final void setObject​(T object)
        Description copied from interface: IModel
        Sets the model object.
        Specified by:
        setObject in interface IModel<T>
        Parameters:
        object - The model object
      • wrapOnAssignment

        public IWrapModel<TwrapOnAssignment​(Component component)
        Description copied from interface: IComponentAssignedModel
        This method is called when the component gets its model assigned. WARNING: Because the model can be assigned in the constructor of component this method can also be called with a 'this' of a component that is not fully constructed yet.
        Specified by:
        wrapOnAssignment in interface IComponentAssignedModel<T>
        Returns:
        The WrapModel that wraps this model