com.sun.xml.registry.client.browser.swing
Class RegistryComboBoxListener

java.lang.Object
  extended bycom.sun.xml.registry.client.browser.swing.RegistryComboBoxListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class RegistryComboBoxListener
extends java.lang.Object
implements java.awt.event.ActionListener

Listens on a ComboBox and sets a new key in the MappedModel if a value was selected.

Author:
Fabian Ritzmann

Constructor Summary
RegistryComboBoxListener(MappedModel m, MappedPanel p)
          Initializes the object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Retrieves the selected value from the ComboBox, tells the panel that the mapping is changing and sets the new key in the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryComboBoxListener

public RegistryComboBoxListener(MappedModel m,
                                MappedPanel p)
Initializes the object.

Parameters:
m - A MappedModel on which this controller operates
p - A MappedPanel that displays the MappedModel
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Retrieves the selected value from the ComboBox, tells the panel that the mapping is changing and sets the new key in the model.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
See Also:
ActionListener.actionPerformed(ActionEvent)


Copyright © 2001-2004 OASIS. All Rights Reserved.