com.sun.rave.designtime
Class DesignBeanAdapter


java.lang.Object

  extended bycom.sun.rave.designtime.DesignBeanAdapter

All Implemented Interfaces:
DesignBeanListener, java.util.EventListener
Direct Known Subclasses:
DesignContextAdapter

public class DesignBeanAdapter
extends java.lang.Object
implements DesignBeanListener

DesignBeanAdapter is a standard event adapter class for the DesignBeanListener event interface.

Version:
1.0
Author:
Joe Nuxoll

Constructor Summary
DesignBeanAdapter()
           
 
Method Summary
 void beanChanged(DesignBean designBean)
          The specified DesignBean has changed.
 void beanContextActivated(DesignBean designBean)
          The specified DesignBean's DesignContext has been "activated" in the project
 void beanContextDeactivated(DesignBean designBean)
          The specified DesignBean's DesignContext has been "deactivated" in the project
 void eventChanged(DesignEvent event)
          The specified DesignEvent has changed.
 void propertyChanged(DesignProperty prop, java.lang.Object oldValue)
          The specified DesignProperty has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignBeanAdapter


public DesignBeanAdapter()
Method Detail

beanChanged


public void beanChanged(DesignBean designBean)
Description copied from interface: DesignBeanListener
The specified DesignBean has changed. This represents a larger-scale change than a single property - this may be the instance name has changed or some other more-than-just-a-property aspect of the DesignBean has changed.

Specified by:
beanChanged in interface DesignBeanListener
Parameters:
designBean - The DesignBean that has changed

beanContextActivated


public void beanContextActivated(DesignBean designBean)
Description copied from interface: DesignBeanListener
The specified DesignBean's DesignContext has been "activated" in the project

Specified by:
beanContextActivated in interface DesignBeanListener
Parameters:
designBean - the DesignBean who's DesignContext that has been activated

beanContextDeactivated


public void beanContextDeactivated(DesignBean designBean)
Description copied from interface: DesignBeanListener
The specified DesignBean's DesignContext has been "deactivated" in the project

Specified by:
beanContextDeactivated in interface DesignBeanListener
Parameters:
designBean - the DesignBean who's DesignContext that has been deactivated

eventChanged


public void eventChanged(DesignEvent event)
Description copied from interface: DesignBeanListener
The specified DesignEvent has changed. This could mean that the event was hooked, unhooked, or the handler method name was changed, or anything that results in the DesignEvent being different.

Specified by:
eventChanged in interface DesignBeanListener
Parameters:
event - The DesignEvent that has changed

propertyChanged


public void propertyChanged(DesignProperty prop,
                            java.lang.Object oldValue)
Description copied from interface: DesignBeanListener
The specified DesignProperty has changed. This could mean that a new value was set, or the property was 'unset', or anything that results in the DesignProperty being different. The oldValue will be passed in if applicable and possible.

Specified by:
propertyChanged in interface DesignBeanListener
Parameters:
prop - The DesignProperty that has changed
oldValue - The prior value of the property (may be null)