Class Point2DObjectDescription

    • Method Detail

      • createObject

        public java.lang.Object createObject()
        Creates an object based on this description.
        Returns:
        The object.
      • setParameterFromObject

        public void setParameterFromObject​(java.lang.Object o)
                                    throws ObjectFactoryException
        Sets the parameters of this description object to match the supplied object.
        Parameters:
        o - the object (should be an instance of Point2D).
        Throws:
        ObjectFactoryException - if the object is not an instance of Point2D.