Class View

java.lang.Object
Model
View

public class View
extends Model
this class present a Calculator GUI
  • Constructor Summary

    Constructors 
    Constructor Description
    View()
    creat a new Calculator
  • Method Summary

    Modifier and Type Method Description
    java.lang.String operation()
    this method calculate - for each operation

    Methods inherited from class java.lang.Object

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

    • View

      public View()
      creat a new Calculator
  • Method Details

    • operation

      public java.lang.String operation()
      this method calculate - for each operation
      Returns:
      String of result