Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdesktop.beans
Class AbstractSerializableBean

    java.lang.Object
      org.jdesktop.beans.AbstractBean
          org.jdesktop.beans.AbstractSerializableBean

All Implemented Interfaces:
  java.io.Serializable

    public abstract class AbstractSerializableBean

extends AbstractBean
implements java.io.Serializable

This subclass enhances `AbstractBean` by implementing the `Serializable` interface. `AbstractSerializableBean` correctly serializes all `Serializable` listeners that it contains. Implementors that need to extends `AbstractBean` or one of its subclasses and require serialization should use this class if possible. If it is not possible to extend this class, the implementation can guide implementors on how to properly serialize the listeners.

Author:
  Karl George Schaefer
See Also:
  `Serializable`, `ObjectInputStream`, `ObjectOutputStream`, Serialized Form

Constructor Summary
`protected` | `AbstractSerializableBean()` Creates a new instance of `AbstractSerializableBean`.
`protected` | `AbstractSerializableBean(java.beans.PropertyChangeSupport pcs, java.beans.VetoableChangeSupport vcs)` Creates a new instance of `AbstractSerializableBean`, using the supplied support delegates.

Method Summary

Methods inherited from class org.jdesktop.beans.AbstractBean
`addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractSerializableBean

    protected AbstractSerializableBean()

  Creates a new instance of `AbstractSerializableBean`.

### AbstractSerializableBean

    protected AbstractSerializableBean(java.beans.PropertyChangeSupport pcs,
                                       java.beans.VetoableChangeSupport vcs)

  Creates a new instance of `AbstractSerializableBean`, using the supplied support delegates. Neither of these may be `null`.

  Parameters:
    `pcs` - the property change support class to use
    `vcs` - the vetoable change support class to use
  Throws:
    `java.lang.NullPointerException` - if any parameter is `null`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010. All Rights Reserved.