Dresden OCL Toolkit

tudresden.ocl.sql.gui
Class ChoiceTab.AssociationEndViewer

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

private class ChoiceTab.AssociationEndViewer
extends Object
implements ListSelectionListener

ListselectionListener for a choice of ordered associationEnds Views an anssociation containing at least one ordered association end in a panel headed with the name of the ordered associationend displayed


Field Summary
private  Vector associationEnds
           
private  JList list
           
private  JPanel panel
           
 
Constructor Summary
ChoiceTab.AssociationEndViewer(JPanel panel, JList list, Vector associationEnds)
           
 
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

associationEnds

private Vector associationEnds
Constructor Detail

ChoiceTab.AssociationEndViewer

public ChoiceTab.AssociationEndViewer(JPanel panel,
                                      JList list,
                                      Vector associationEnds)
Parameters:
panel - the JPanel for display
list - the List to get selected associationends from
associationEnds - a Vector of MAssociationEnd 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.