Module java.desktop

Class BeanContextServicesSupport

All Implemented Interfaces:
BeanContext, BeanContextChild, BeanContextServiceRevokedListener, BeanContextServices, BeanContextServicesListener, DesignMode, PropertyChangeListener, VetoableChangeListener, Visibility, Serializable, Iterable, Collection, EventListener

public class BeanContextServicesSupport
extends BeanContextSupport
implements BeanContextServices

This helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.

Since this class directly implements the BeanContextServices interface, the class can, and is intended to be used either by subclassing this implementation, or via delegation of an instance of this class from another through the BeanContextProxy interface.

Since:
1.2
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • BeanContextServicesSupport

      public BeanContextServicesSupport​(BeanContextServices peer, Locale lcle, boolean dTime, boolean visible)

      Construct a BeanContextServicesSupport instance

      Parameters:
      peer - The peer BeanContext we are supplying an implementation for, if null the this object is its own peer
      lcle - The current Locale for this BeanContext.
      dTime - The initial state, true if in design mode, false if runtime.
      visible - The initial visibility.
    • BeanContextServicesSupport

      public BeanContextServicesSupport​(BeanContextServices peer, Locale lcle, boolean dtime)
      Create an instance using the specified Locale and design mode.
      Parameters:
      peer - The peer BeanContext we are supplying an implementation for, if null the this object is its own peer
      lcle - The current Locale for this BeanContext.
      dtime - The initial state, true if in design mode, false if runtime.
    • BeanContextServicesSupport

      public BeanContextServicesSupport​(BeanContextServices peer, Locale lcle)
      Create an instance using the specified locale
      Parameters:
      peer - The peer BeanContext we are supplying an implementation for, if null the this object is its own peer
      lcle - The current Locale for this BeanContext.
    • BeanContextServicesSupport

      public BeanContextServicesSupport​(BeanContextServices peer)
      Create an instance with a peer
      Parameters:
      peer - The peer BeanContext we are supplying an implementation for, if null the this object is its own peer
    • BeanContextServicesSupport

      public BeanContextServicesSupport()
      Create an instance that is not a delegate of another object
  • Method Details