com.silvermindsoftware.hitch.binding.components
Class ListBinding

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

public class ListBinding
extends AbstractBindingCreator<JList>

This class creates bindings for lists.

Author:
Stefan Wismer (SWI)
File-location:
ListBinding
Last check-in date:
2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880

Field Summary
 
Fields inherited from class com.silvermindsoftware.hitch.binding.AbstractBindingCreator
m_updateStrategy
 
Constructor Summary
ListBinding(org.jdesktop.beansbinding.Property<?,?> property)
           
ListBinding(String property)
           
 
Method Summary
 void addValidation(JList formComponent)
          Add validation capability.
 org.jdesktop.beansbinding.AutoBinding createBinding(Object object, JList 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

ListBinding

public ListBinding(String property)
Parameters:
property - which property to show in the list

ListBinding

public ListBinding(org.jdesktop.beansbinding.Property<?,?> property)
Parameters:
property - which property to show in the list
Method Detail

createBinding

public org.jdesktop.beansbinding.AutoBinding createBinding(Object object,
                                                           JList 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(JList formComponent)
Add validation capability.

Parameters:
formComponent - the widget showing the values


Copyright © 2005-2011 ELCA. All Rights Reserved.