Dresden OCL Toolkit

tudresden.ocl.sql.gui
Class ChoiceTab.AssociationViewer

java.lang.Object
  extended bytudresden.ocl.sql.gui.ChoiceTab.AssociationViewer
All Implemented Interfaces:
EventListener, ListSelectionListener
Enclosing class:
ChoiceTab

private class ChoiceTab.AssociationViewer
extends Object
implements ListSelectionListener

ListSelectionListener for all kinds of assoiations to be displayed


Field Summary
private  Vector associations
           
private  JList list
           
private  JPanel panel
           
 
Constructor Summary
ChoiceTab.AssociationViewer(JPanel panel, JList list, Vector associations)
           
 
Method Summary
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

private JPanel panel

list

private JList list

associations

private Vector associations
Constructor Detail

ChoiceTab.AssociationViewer

public ChoiceTab.AssociationViewer(JPanel panel,
                                   JList list,
                                   Vector associations)
Parameters:
panel - the panel for display
list - the JList to get selected associations from
associations - a Vctor of MAssociation corresponding to list
Method Detail

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.