de.kleopatra.view.binding
Class DefaultBindingMap.SpinnerBindingHandler

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

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

.

Version:
$Revision: 1.6 $ - $Date: 2004/10/04 11:56:04 $
Author:
(C) 2004 Jeanette Winzenburg, Berlin

Constructor Summary
DefaultBindingMap.SpinnerBindingHandler()
           
 
Method Summary
 void bind(javax.swing.JComponent container, BindingMetaData metaData, ValueModel model)
          Connects model to JSpinner's model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBindingMap.SpinnerBindingHandler

public DefaultBindingMap.SpinnerBindingHandler()
Method Detail

bind

public void bind(javax.swing.JComponent container,
                 BindingMetaData metaData,
                 ValueModel model)
Connects model to JSpinner's model.

If metaData carries a custom spinnerModel set it to the found JSpinner before connecting.

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.