Class DisplacementImpl

    • Field Detail

      • DEFAULT

        public static final Displacement DEFAULT
        Default Displacement instance.
      • NULL

        public static final Displacement NULL
        Null Displacement instance.
    • Constructor Detail

      • DisplacementImpl

        public DisplacementImpl()
      • DisplacementImpl

        public DisplacementImpl​(FilterFactory factory)
    • Method Detail

      • setFilterFactory

        public void setFilterFactory​(FilterFactory factory)
      • setDisplacementX

        public void setDisplacementX​(Expression displacementX)
        Setter for property displacementX.
        Specified by:
        setDisplacementX in interface Displacement
        Parameters:
        displacementX - New value of property displacementX.
      • setDisplacementX

        public void setDisplacementX​(double displacementX)
        Set displacement x to the provided literal.
        Parameters:
        displacementX - New value of property displacementX.
      • setDisplacementY

        public void setDisplacementY​(Expression displacementY)
        Setter for property displacementY.
        Specified by:
        setDisplacementY in interface Displacement
        Parameters:
        displacementY - New value of property displacementY.
      • setDisplacementY

        public void setDisplacementY​(double displacementY)
        Set displacement y to the provided literal.
        Parameters:
        displacementY - New value of property displacementX.
      • getDisplacementX

        public Expression getDisplacementX()
        Getter for property displacementX.
        Specified by:
        getDisplacementX in interface Displacement
        Returns:
        Value of property displacementX.
      • getDisplacementY

        public Expression getDisplacementY()
        Getter for property displacementY.
        Specified by:
        getDisplacementY in interface Displacement
        Returns:
        Value of property displacementY.
      • clone

        public Object clone()
        Description copied from interface: Cloneable
        Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object.
        Specified by:
        clone in interface Cloneable
        Overrides:
        clone in class Object
        Returns:
        A copy of this object.
        See Also:
        Object.clone()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object