de.kleopatra.view.binding
Class DefaultBindingMap.RadioBindingHandler

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

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

Handler for RadioButtons.


Constructor Summary
DefaultBindingMap.RadioBindingHandler()
           
 
Method Summary
 void bind(javax.swing.JComponent container, BindingMetaData metaData, ValueModel model)
          binds a group of radioButtons to valueModel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBindingMap.RadioBindingHandler

public DefaultBindingMap.RadioBindingHandler()
Method Detail

bind

public void bind(javax.swing.JComponent container,
                 BindingMetaData metaData,
                 ValueModel model)
binds a group of radioButtons to valueModel. Each button represents one of the optionValues provided by metaData.

PENDING: extend to include all radio-type buttons (like radioMenuItems)

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.