Class DialogPattern

java.lang.Object
  |
  +--DialogPattern

class DialogPattern
extends java.lang.Object
implements java.awt.event.ActionListener

this class allows the user to impose constraints on the statistics


Field Summary
(package private)  javax.swing.JToggleButton[] button
           
(package private) static int criteria
           
(package private)  javax.swing.JDialog dialog
           
(package private) static int IEcriteria
           
(package private)  java.lang.String[] IElabel
           
(package private)  InformationElementList[] IEList
           
(package private)  boolean isShown
           
(package private)  java.lang.String[] label
           
(package private)  javax.swing.JFrame mainframe
           
 
Constructor Summary
(package private) DialogPattern(javax.swing.JFrame mainframe)
          builts the window and the widgets
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          adds the controls to each button it takes care not to select 2 or more options which can not be satisfied in the same time
 void HideDialog()
          dismiss the window
 void ShowDialog()
          pops-up the window
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

dialog

javax.swing.JDialog dialog

isShown

boolean isShown

criteria

static final int criteria

IEcriteria

static final int IEcriteria

button

javax.swing.JToggleButton[] button

IEList

InformationElementList[] IEList

label

java.lang.String[] label

IElabel

java.lang.String[] IElabel

mainframe

javax.swing.JFrame mainframe
Constructor Detail

DialogPattern

DialogPattern(javax.swing.JFrame mainframe)
builts the window and the widgets
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
adds the controls to each button it takes care not to select 2 or more options which can not be satisfied in the same time
Specified by:
actionPerformed in interface java.awt.event.ActionListener

HideDialog

public void HideDialog()
dismiss the window

ShowDialog

public void ShowDialog()
pops-up the window