All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ia_solver.Interface

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----ia_solver.Interface

public class Interface
extends Frame
implements SolverGUI
Create a GUI interface for the Interval Arithmetic Solver. the Interface class is the "application" version of the Interval Arithmetic constraint solver in the ia_solver package.

This application creates a window with two main text areas and an assortment of control buttons and text fields. The Main text area is where the user enters constraints to be solved. The Result text area is where the answers are displayed.


Constructor Index

 o Interface(boolean)
This creates the GUI for the Interval Arithmetic Constraint Solver.

Method Index

 o action(Event, Object)
 o destroy()
 o getConstraints()
 o getIntervalStyle()
 o getMaxNarrow()
 o getVars()
 o handleEvent(Event)
 o main(String[])
 o notifyFailure()
 o notifyNarrows(int)
 o notifySuccess()
 o popStack()
 o pushStack()
 o setButtonStatus(String)
 o setMessageField(String)
 o setVarList(String)
 o sizeStack()

Constructors

 o Interface
 public Interface(boolean isApplet)
This creates the GUI for the Interval Arithmetic Constraint Solver. The GUI has two major text areas. One for reading the constraints and another for printing the variable bindings. It also has a textfield for printing messages (status and error), and several buttons/choices/textfields for giving commands to operate on the constraints.

Methods

 o destroy
 public void destroy()
 o handleEvent
 public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o action
 public boolean action(Event evt,
                       Object arg)
Overrides:
action in class Component
 o sizeStack
 public int sizeStack()
 o pushStack
 public void pushStack()
 o popStack
 public boolean popStack()
 o main
 public static void main(String args[])
 o setMessageField
 public void setMessageField(String s)
 o setButtonStatus
 public void setButtonStatus(String s)
 o getMaxNarrow
 public Integer getMaxNarrow()
 o getConstraints
 public Exp getConstraints()
 o getVars
 public RealIntervalTable getVars()
 o getIntervalStyle
 public String getIntervalStyle()
 o setVarList
 public void setVarList(String s)
 o notifyNarrows
 public void notifyNarrows(int i)
 o notifyFailure
 public void notifyFailure()
 o notifySuccess
 public void notifySuccess()

All Packages  Class Hierarchy  This Package  Previous  Next  Index