- 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
public abstract static class AbstractContainer.Delegate extends AbstractContainer
Delegate base class to be used inside a wrapper class implementingContainer
. The abstract methods must be implemented to return the information from the wrapper, or in the case ofnotifyChild(org.praxislive.core.Component)
call through toComponent.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 Constructor Description Delegate()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract ComponentAddress
getAddress()
abstract Lookup
getLookup()
Get the Lookup from this Provider.protected abstract void
notifyChild(Component child)
-
Methods inherited from class org.praxislive.base.AbstractContainer
addChild, children, connect, disconnect, getAddress, getChild, getChildID, hierarchyChanged, removeChild
-
Methods inherited from class org.praxislive.base.AbstractComponent
disconnectAll, findService, getControl, getParent, getPort, parentNotify, registerControl, registerPort, unregisterControl, unregisterPort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.praxislive.core.Component
getControl, getInfo, getParent, getPort, parentNotify
-
-
-
-
Method Detail
-
getLookup
public abstract Lookup getLookup()
Description copied from interface:Lookup.Provider
Get the Lookup from this Provider.- Specified by:
getLookup
in interfaceLookup.Provider
- Overrides:
getLookup
in classAbstractContainer
- Returns:
- lookup
-
getAddress
protected abstract ComponentAddress getAddress()
- Overrides:
getAddress
in classAbstractComponent
-
notifyChild
protected abstract void notifyChild(Component child) throws VetoException
- Overrides:
notifyChild
in classAbstractContainer
- Throws:
VetoException
-
-