VennDrawing
Class MainClass

java.lang.Object
  extended by VennDrawing.MainClass

public class MainClass
extends java.lang.Object

A simple class to perform the initialization of the venn diagram object.

This class object just takes the order and creates the main object Venn Diagram and initializes the GUI.


Field Summary
(package private)  VennDiagram vennDiagram
          Native object .
 
Constructor Summary
MainClass(java.io.File f)
          Constructor of the class .
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vennDiagram

VennDiagram vennDiagram
Native object . Initially null then created by giving the order.

Constructor Detail

MainClass

public MainClass(java.io.File f)
Constructor of the class . Just Prompts the input of the order. Inputs a set as a file. The format follows:
(order n) (set 0 member 0) (space) ( set 0 member 1) (space) ....(member m-1)
...
...
(set n-1 member 0) (space)(set n-1 member 1) (space) ....(member m-1)

Parameters:
f - the input file.