|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVennDrawing.GUIBuilder
class GUIBuilder
Builds a GUI to draw the venn diagram.
A simple class to creat a GUI for the venn diagram. The method is to depictCopyright: Copyright (c) 2008
Company: Bangladesh University of engineering and technology
Field Summary | |
---|---|
(package private) DrawPane |
drawPanel
The main Drawing panel where all graphics work to be done. |
(package private) javax.swing.JFrame |
frame
A javax.swing.Component where Drawing panels are contained. |
(package private) int[][] |
Grid
The grid array. |
(package private) javax.swing.JPanel |
mainPanel
The main Contained to contain the drawing panel. |
(package private) int |
maxX
The maximum value of x in the GUI frame |
(package private) int |
maxY
The maximum value of y in the GUI frame |
(package private) int |
order
The order of the venn diagram. |
Constructor Summary | |
---|---|
GUIBuilder(int maxX,
int maxY,
int[][] Grid,
int order,
RSet[] setArray)
Constructor for the object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int maxX
int maxY
int order
int[][] Grid
javax.swing.JFrame frame
javax.swing.JPanel mainPanel
DrawPane drawPanel
Constructor Detail |
---|
public GUIBuilder(int maxX, int maxY, int[][] Grid, int order, RSet[] setArray)
maxX
- Maximum value of X of the GUI Draw Panel.maxY
- Maximum value of Y of the GUI Draw Panel.Grid
- the 2D array already initialized in VennDiagram object.order
- order of the venn diagram.setArray
- Array of possible all sets as RSet objects
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |