de.beamertool.admin.configuration
Class BeanBinder

java.lang.Object
  extended by de.beamertool.admin.configuration.BeanBinder

public class BeanBinder
extends Object

Glue between a bean and a PropertySheetPanel.

Author:
ocm-zeeman

Constructor Summary
BeanBinder(Object bean, com.l2fprod.common.propertysheet.PropertySheetPanel sheet)
          Binds the Bean to the sheet with a DefaultBeanInfoResolver
BeanBinder(Object bean, com.l2fprod.common.propertysheet.PropertySheetPanel sheet, BeanInfo beanInfo)
          Binds the Bean to the sheet with a given beanInfo object.
 
Method Summary
 void unbind()
          Releases the binding between sheet and bean.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanBinder

public BeanBinder(Object bean,
                  com.l2fprod.common.propertysheet.PropertySheetPanel sheet)
Binds the Bean to the sheet with a DefaultBeanInfoResolver

Parameters:
bean - the bean to monitor
sheet - the panel to inform on chagnes

BeanBinder

public BeanBinder(Object bean,
                  com.l2fprod.common.propertysheet.PropertySheetPanel sheet,
                  BeanInfo beanInfo)
Binds the Bean to the sheet with a given beanInfo object.

Parameters:
bean - the bean to monitor
sheet - the panel to inform on chagnes
beanInfo - the beanInfo object to glue bean and sheet together
Method Detail

unbind

public void unbind()
Releases the binding between sheet and bean.