Class Circle

java.lang.Object
shaperCompiler.util.Shape
shaperCompiler.util.Circle

public class Circle
extends Shape
The Class Circle.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) java.lang.String radius
    The radius.
    (package private) java.lang.String x_center
    The x center.
    (package private) java.lang.String y_center
    The y center.

    Fields inherited from class shaperCompiler.util.Shape

    jobSpeed, lube, moveSpeed, type
  • Constructor Summary

    Constructors 
    Constructor Description
    Circle​(org.antlr.runtime.Token x_center, org.antlr.runtime.Token y_center, org.antlr.runtime.Token radius)
    Instantiates a new circle.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getRadius()
    Gets the radius.
    java.lang.String getX_center()
    Gets the x center.
    java.lang.String getY_center()
    Gets the y center.
    void setRadius​(java.lang.String radius)
    Sets the radius.
    void setX_center​(java.lang.String x_center)
    Sets the x center.
    void setY_center​(java.lang.String y_center)
    Sets the y center.
    java.lang.String toString()
    To string.

    Methods inherited from class shaperCompiler.util.Shape

    getJobSpeed, getLube, getMoveSpeed, getType, setJobSpeed, setLube, setMoveSpeed, setType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • x_center

      java.lang.String x_center
      The x center.
    • y_center

      java.lang.String y_center
      The y center.
    • radius

      java.lang.String radius
      The radius.
  • Constructor Details

    • Circle

      public Circle​(org.antlr.runtime.Token x_center, org.antlr.runtime.Token y_center, org.antlr.runtime.Token radius)
      Instantiates a new circle.
      Parameters:
      x_center - the x center
      y_center - the y center
      radius - the radius
  • Method Details

    • toString

      public java.lang.String toString()
      To string.
      Overrides:
      toString in class Shape
      Returns:
      the string
    • getX_center

      public java.lang.String getX_center()
      Gets the x center.
      Returns:
      the x center
    • setX_center

      public void setX_center​(java.lang.String x_center)
      Sets the x center.
      Parameters:
      x_center - the new x center
    • getY_center

      public java.lang.String getY_center()
      Gets the y center.
      Returns:
      the y center
    • setY_center

      public void setY_center​(java.lang.String y_center)
      Sets the y center.
      Parameters:
      y_center - the new y center
    • getRadius

      public java.lang.String getRadius()
      Gets the radius.
      Returns:
      the radius
    • setRadius

      public void setRadius​(java.lang.String radius)
      Sets the radius.
      Parameters:
      radius - the new radius