ix.ip2
Class BindingViewer

java.lang.Object
  extended by ix.ip2.BindingViewer
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public abstract class BindingViewer
extends java.lang.Object
implements java.awt.event.ActionListener


Nested Class Summary
(package private)  class BindingViewer.ButtonPanel
           
(package private)  class BindingViewer.ValComboBox
           
(package private) static class BindingViewer.Value
          Class to hold values in a ValComboBox so that we don't have to concert back from strings.
(package private)  class BindingViewer.VarPanel
           
 
Field Summary
protected  IXAgent agent
           
protected  java.awt.Container contentPane
           
protected  javax.swing.JFrame frame
           
protected  java.util.Map possibleValues
           
protected  BindingViewer.VarPanel varPanel
           
protected  java.util.Set vars
           
 
Constructor Summary
BindingViewer(IXAgent agent, java.util.Set vars, java.util.Map possibleValues)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
abstract  void handleBindings(java.util.Map newBindings)
           
 void resetPossibleValues(java.util.Map possibles)
           
protected  void setUpFrame()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

protected IXAgent agent

vars

protected java.util.Set vars

possibleValues

protected java.util.Map possibleValues

frame

protected javax.swing.JFrame frame

contentPane

protected java.awt.Container contentPane

varPanel

protected BindingViewer.VarPanel varPanel
Constructor Detail

BindingViewer

public BindingViewer(IXAgent agent,
                     java.util.Set vars,
                     java.util.Map possibleValues)
Method Detail

setUpFrame

protected void setUpFrame()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

handleBindings

public abstract void handleBindings(java.util.Map newBindings)

resetPossibleValues

public void resetPossibleValues(java.util.Map possibles)