com.silvermindsoftware.hitch.binding.components
Class ComboBoxBinding

java.lang.Object
  extended by com.silvermindsoftware.hitch.binding.AbstractBindingCreator<JComboBox>
      extended by com.silvermindsoftware.hitch.binding.components.ComboBoxBinding
All Implemented Interfaces:
BindingCreator<JComboBox>

public class ComboBoxBinding
extends AbstractBindingCreator<JComboBox>

This class creates bindings for ComboBoxes.

Author:
Stefan Wismer (SWI)
File-location:
ComboBoxBinding
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
 
Fields inherited from class com.silvermindsoftware.hitch.binding.AbstractBindingCreator
m_updateStrategy
 
Constructor Summary
ComboBoxBinding()
           
 
Method Summary
 void addValidation(JComboBox formComponent)
          Add validation capability.
 org.jdesktop.beansbinding.AutoBinding createBinding(Object object, JComboBox formComponent)
          Create the concrete binding.
 
Methods inherited from class com.silvermindsoftware.hitch.binding.AbstractBindingCreator
getUpdateStrategy, setUpdateStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComboBoxBinding

public ComboBoxBinding()
Method Detail

createBinding

public org.jdesktop.beansbinding.AutoBinding createBinding(Object object,
                                                           JComboBox formComponent)
Create the concrete binding.

Parameters:
object - the object to bind
formComponent - the widget to bound to
Returns:
the corresponding binding

addValidation

public void addValidation(JComboBox formComponent)
Add validation capability.

Parameters:
formComponent - the widget showing the values


Copyright © 2005-2011 ELCA. All Rights Reserved.