java.lang.Object
org.praxislive.base.AbstractComponent
org.praxislive.base.AbstractContainer
org.praxislive.base.AbstractContainer.Delegate
- All Implemented Interfaces:
Component,Container,Lookup.Provider
- Enclosing class:
AbstractContainer
Delegate base class to be used inside a wrapper class implementing
Container. The abstract methods must be implemented to return the
information from the wrapper, or in the case of
notifyChild(org.praxislive.core.Component) call through to
Component.parentNotify(org.praxislive.core.Container) with the
wrapper.-
Nested Class Summary
Nested classes/interfaces inherited from class org.praxislive.base.AbstractContainer
AbstractContainer.AddChildControl, AbstractContainer.ChildrenControl, AbstractContainer.ConnectControl, AbstractContainer.ConnectionsControl, AbstractContainer.Delegate, AbstractContainer.DisconnectControl, AbstractContainer.RemoveChildControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ComponentAddressabstract LookupGet the Lookup from this Provider.protected abstract voidnotifyChild(Component child) Notify the child of its addition to the container by calling through toComponent.parentNotify(org.praxislive.core.Container)with the wrapper instance.Methods inherited from class org.praxislive.base.AbstractContainer
addChild, children, connect, disconnect, getAddress, getChild, getChildID, getType, hierarchyChanged, recordChildType, removeChild, write, writeChildren, writeConnectionsMethods inherited from class org.praxislive.base.AbstractComponent
disconnectAll, findService, getControl, getParent, getPort, parentNotify, registerControl, registerPort, unregisterControl, unregisterPort, writeMeta, writeTypeAndInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.core.Component
getControl, getInfo, getParent, getPort, parentNotify
-
Constructor Details
-
Delegate
public Delegate()
-
-
Method Details
-
getLookup
Description copied from interface:Lookup.ProviderGet the Lookup from this Provider.- Specified by:
getLookupin interfaceLookup.Provider- Overrides:
getLookupin classAbstractContainer- Returns:
- lookup
-
getAddress
- Overrides:
getAddressin classAbstractComponent
-
notifyChild
Notify the child of its addition to the container by calling through toComponent.parentNotify(org.praxislive.core.Container)with the wrapper instance.- Overrides:
notifyChildin classAbstractContainer- Parameters:
child- child being notified- Throws:
VetoException- if child vetoes being added
-