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.
-
Interface(boolean)
- This creates the GUI for the Interval Arithmetic Constraint Solver.
-
action(Event, Object)
-
-
destroy()
-
-
getConstraints()
-
-
getIntervalStyle()
-
-
getMaxNarrow()
-
-
getVars()
-
-
handleEvent(Event)
-
-
main(String[])
-
-
notifyFailure()
-
-
notifyNarrows(int)
-
-
notifySuccess()
-
-
popStack()
-
-
pushStack()
-
-
setButtonStatus(String)
-
-
setMessageField(String)
-
-
setVarList(String)
-
-
sizeStack()
-
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.
destroy
public void destroy()
handleEvent
public boolean handleEvent(Event evt)
- Overrides:
- handleEvent in class Component
action
public boolean action(Event evt,
Object arg)
- Overrides:
- action in class Component
sizeStack
public int sizeStack()
pushStack
public void pushStack()
popStack
public boolean popStack()
main
public static void main(String args[])
setMessageField
public void setMessageField(String s)
setButtonStatus
public void setButtonStatus(String s)
getMaxNarrow
public Integer getMaxNarrow()
getConstraints
public Exp getConstraints()
getVars
public RealIntervalTable getVars()
getIntervalStyle
public String getIntervalStyle()
setVarList
public void setVarList(String s)
notifyNarrows
public void notifyNarrows(int i)
notifyFailure
public void notifyFailure()
notifySuccess
public void notifySuccess()
All Packages Class Hierarchy This Package Previous Next Index