Class CornerImpl

  • All Implemented Interfaces:
    Corner, java.io.Serializable

    public class CornerImpl
    extends java.lang.Object
    implements java.io.Serializable, Corner
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CornerImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getRadius()
      Gets the radius.
      java.lang.String getType()
      Gets the type.
      void setRadius​(double radius)
      Sets the radius.
      void setType​(java.lang.String type)
      Sets the type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CornerImpl

        public CornerImpl()
    • Method Detail

      • getType

        public java.lang.String getType()
        Description copied from interface: Corner
        Gets the type.
        Specified by:
        getType in interface Corner
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Description copied from interface: Corner
        Sets the type.
        Specified by:
        setType in interface Corner
        Parameters:
        type - the type to set
      • getRadius

        public double getRadius()
        Description copied from interface: Corner
        Gets the radius.
        Specified by:
        getRadius in interface Corner
        Returns:
        the radius
      • setRadius

        public void setRadius​(double radius)
        Description copied from interface: Corner
        Sets the radius.
        Specified by:
        setRadius in interface Corner
        Parameters:
        radius - the radius to set