de.kleopatra.view.binding
Class DefaultBindingMap.ComboBoxBindingHandler

java.lang.Object
  extended byde.kleopatra.view.binding.DefaultBindingMap.ComboBoxBindingHandler
All Implemented Interfaces:
BindingHandler
Enclosing class:
DefaultBindingMap

public static class DefaultBindingMap.ComboBoxBindingHandler
extends java.lang.Object
implements BindingHandler

Handler for ComboBox.


Constructor Summary
DefaultBindingMap.ComboBoxBindingHandler()
           
 
Method Summary
 void bind(javax.swing.JComponent container, BindingMetaData metaData, ValueModel model)
          Find a fitting component in container and bind it to model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBindingMap.ComboBoxBindingHandler

public DefaultBindingMap.ComboBoxBindingHandler()
Method Detail

bind

public void bind(javax.swing.JComponent container,
                 BindingMetaData metaData,
                 ValueModel model)
Description copied from interface: BindingHandler
Find a fitting component in container and bind it to model.

The component is searched by name, checked if appropriate for the type of binding as required by metaData and configured with metaData, if appropriate.

Specified by:
bind in interface BindingHandler
Parameters:
container - the parent to search
metaData - binding infos
model - the model to keep in synch with the found component's data.


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.