org.ejtools.adwt.service
Class MDIFrameServiceProvider

java.lang.Object
  |
  +--java.beans.beancontext.BeanContextChildSupport
        |
        +--java.beans.beancontext.BeanContextSupport
              |
              +--java.beans.beancontext.BeanContextServicesSupport
                    |
                    +--org.ejtools.beans.beancontext.CustomBeanContextServicesSupport
                          |
                          +--org.ejtools.beans.beancontext.CustomBeanContextServiceProvider
                                |
                                +--org.ejtools.adwt.service.FrameServiceProvider
                                      |
                                      +--org.ejtools.adwt.service.MDIFrameServiceProvider
All Implemented Interfaces:
java.beans.beancontext.BeanContext, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextContainerProxy, java.beans.beancontext.BeanContextServiceProvider, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServices, java.beans.beancontext.BeanContextServicesListener, java.util.Collection, java.beans.DesignMode, java.util.EventListener, FrameService, MDIFrameService, MenuBarService.Listener, java.beans.PropertyChangeListener, java.io.Serializable, org.ejtools.util.state.Storable, java.beans.VetoableChangeListener, java.beans.Visibility

public class MDIFrameServiceProvider
extends FrameServiceProvider
implements MDIFrameService

Description of the Class

Version:
$Revision: 1.5 $
Author:
Laurent Etiemble
See Also:
Serialized Form

Field Summary
protected  MDIDesktopPane desktop
          Description of the Field
protected  java.util.Vector frames
          Description of the Field
protected  javax.swing.ButtonGroup group
          Description of the Field
 
Fields inherited from class org.ejtools.adwt.service.FrameServiceProvider
frame, scrollPane, service
 
Fields inherited from class java.beans.beancontext.BeanContextServicesSupport
bcsListeners, proxy, serializable, services
 
Fields inherited from class java.beans.beancontext.BeanContextSupport
bcmListeners, children, designTime, locale, okToUseGui
 
Fields inherited from class java.beans.beancontext.BeanContextChildSupport
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport
 
Fields inherited from interface org.ejtools.adwt.service.FrameService
MDI, SDI
 
Fields inherited from interface java.beans.beancontext.BeanContext
globalHierarchyLock
 
Fields inherited from interface java.beans.DesignMode
PROPERTYNAME
 
Constructor Summary
MDIFrameServiceProvider()
          Constructor for the FrameServiceProvider object
 
Method Summary
 void activate(BeanContextInternalFrame frame)
          Description of the Method
 BeanContextInternalFrame getActivated()
          Gets the activated attribute of the FrameServiceProvider object
protected  java.lang.Class[] getServiceClass()
           
protected  void initializeBeanContextResources()
          Description of the Method
 boolean isActivated(BeanContextInternalFrame frame)
          Gets the activated attribute of the FrameServiceProvider object
 void register(BeanContextInternalFrame frame)
          Description of the Method
protected  void releaseBeanContextResources()
          Description of the Method
 void unregister(BeanContextInternalFrame frame)
          Description of the Method
 
Methods inherited from class org.ejtools.adwt.service.FrameServiceProvider
addWindowListener, getContainer, getCurrentServiceSelectors, getService, releaseService, releaseServices, removeWindowListener, setTitle, update, useServices
 
Methods inherited from class org.ejtools.beans.beancontext.CustomBeanContextServicesSupport
accept, clear, getService
 
Methods inherited from class java.beans.beancontext.BeanContextServicesSupport
addBeanContextServicesListener, addService, addService, bcsPreDeserializationHook, bcsPreSerializationHook, childJustRemovedHook, createBCSChild, createBCSSServiceProvider, fireServiceAdded, fireServiceAdded, fireServiceRevoked, fireServiceRevoked, getBeanContextServicesPeer, getChildBeanContextServicesListener, getCurrentServiceClasses, getCurrentServiceSelectors, hasService, initialize, releaseService, removeBeanContextServicesListener, revokeService, serviceAvailable, serviceRevoked
 
Methods inherited from class java.beans.beancontext.BeanContextSupport
add, addAll, addBeanContextMembershipListener, avoidingGui, bcsChildren, childDeserializedHook, childJustAddedHook, classEquals, contains, containsAll, containsKey, copyChildren, deserialize, dontUseGui, fireChildrenAdded, fireChildrenRemoved, getBeanContextPeer, getChildBeanContextChild, getChildBeanContextMembershipListener, getChildPropertyChangeListener, getChildSerializable, getChildVetoableChangeListener, getChildVisibility, getLocale, getResource, getResourceAsStream, instantiateChild, isDesignTime, isEmpty, isSerializing, iterator, needsGui, okToUseGui, propertyChange, readChildren, remove, remove, removeAll, removeBeanContextMembershipListener, retainAll, serialize, setDesignTime, setLocale, size, toArray, toArray, validatePendingAdd, validatePendingRemove, vetoableChange, writeChildren
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, isDelegated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ejtools.adwt.service.FrameService
addWindowListener, removeWindowListener, setTitle
 
Methods inherited from interface java.beans.beancontext.BeanContextContainerProxy
getContainer
 
Methods inherited from interface org.ejtools.adwt.service.MenuBarService.Listener
update
 
Methods inherited from interface java.beans.beancontext.BeanContext
addBeanContextMembershipListener, getResource, getResourceAsStream, instantiateChild, removeBeanContextMembershipListener
 
Methods inherited from interface java.beans.beancontext.BeanContextChild
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext
 
Methods inherited from interface java.util.Collection
add, addAll, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.beans.DesignMode
isDesignTime, setDesignTime
 
Methods inherited from interface java.beans.Visibility
avoidingGui, dontUseGui, needsGui, okToUseGui
 

Field Detail

desktop

protected MDIDesktopPane desktop
Description of the Field


frames

protected java.util.Vector frames
Description of the Field


group

protected javax.swing.ButtonGroup group
Description of the Field

Constructor Detail

MDIFrameServiceProvider

public MDIFrameServiceProvider()
Constructor for the FrameServiceProvider object

Method Detail

activate

public void activate(BeanContextInternalFrame frame)
Description of the Method

Specified by:
activate in interface MDIFrameService
Parameters:
frame - Description of Parameter

getActivated

public BeanContextInternalFrame getActivated()
Gets the activated attribute of the FrameServiceProvider object

Returns:
The activated value

isActivated

public boolean isActivated(BeanContextInternalFrame frame)
Gets the activated attribute of the FrameServiceProvider object

Parameters:
frame - Description of Parameter
Returns:
The activated value

register

public void register(BeanContextInternalFrame frame)
Description of the Method

Specified by:
register in interface MDIFrameService
Parameters:
frame - Description of Parameter

unregister

public void unregister(BeanContextInternalFrame frame)
Description of the Method

Specified by:
unregister in interface MDIFrameService
Parameters:
frame - Description of Parameter

getServiceClass

protected java.lang.Class[] getServiceClass()
Specified by:
getServiceClass in class org.ejtools.beans.beancontext.CustomBeanContextServiceProvider
Returns:
The serviceClass value

initializeBeanContextResources

protected void initializeBeanContextResources()
Description of the Method

Overrides:
initializeBeanContextResources in class FrameServiceProvider

releaseBeanContextResources

protected void releaseBeanContextResources()
Description copied from class: FrameServiceProvider
Description of the Method

Overrides:
releaseBeanContextResources in class FrameServiceProvider


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.