- java.lang.Object
-
- org.praxislive.base.AbstractComponent
-
- org.praxislive.base.AbstractContainer
-
- All Implemented Interfaces:
org.praxislive.core.Component,org.praxislive.core.Container,org.praxislive.core.Lookup.Provider
public abstract class AbstractContainer extends AbstractComponent implements org.praxislive.core.Container
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAbstractContainer.AddChildControlprotected classAbstractContainer.ChildrenControlprotected classAbstractContainer.ConnectControlprotected classAbstractContainer.ConnectionsControlprotected classAbstractContainer.DisconnectControlprotected classAbstractContainer.RemoveChildControl
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddChild(String id, org.praxislive.core.Component child)Stream<String>children()protected voidconnect(String component1, String port1, String component2, String port2)protected voiddisconnect(String component1, String port1, String component2, String port2)org.praxislive.core.ComponentAddressgetAddress(org.praxislive.core.Component child)org.praxislive.core.ComponentgetChild(String id)protected StringgetChildID(org.praxislive.core.Component child)org.praxislive.core.LookupgetLookup()voidhierarchyChanged()protected voidnotifyChild(org.praxislive.core.Component child)protected org.praxislive.core.ComponentremoveChild(String id)-
Methods inherited from class org.praxislive.base.AbstractComponent
disconnectAll, findService, getAddress, getControl, getParent, getPort, parentNotify, registerControl, registerPort, unregisterControl, unregisterPort
-
-
-
-
Method Detail
-
getChild
public org.praxislive.core.Component getChild(String id)
- Specified by:
getChildin interfaceorg.praxislive.core.Container
-
children
public Stream<String> children()
- Specified by:
childrenin interfaceorg.praxislive.core.Container
-
getAddress
public org.praxislive.core.ComponentAddress getAddress(org.praxislive.core.Component child)
- Specified by:
getAddressin interfaceorg.praxislive.core.Container
-
hierarchyChanged
public void hierarchyChanged()
- Specified by:
hierarchyChangedin interfaceorg.praxislive.core.Component- Overrides:
hierarchyChangedin classAbstractComponent
-
getLookup
public org.praxislive.core.Lookup getLookup()
- Specified by:
getLookupin interfaceorg.praxislive.core.Lookup.Provider- Overrides:
getLookupin classAbstractComponent
-
addChild
protected void addChild(String id, org.praxislive.core.Component child) throws org.praxislive.core.VetoException
- Throws:
org.praxislive.core.VetoException
-
notifyChild
protected void notifyChild(org.praxislive.core.Component child) throws org.praxislive.core.VetoException- Throws:
org.praxislive.core.VetoException
-
removeChild
protected org.praxislive.core.Component removeChild(String id)
-
getChildID
protected String getChildID(org.praxislive.core.Component child)
-
connect
protected void connect(String component1, String port1, String component2, String port2) throws org.praxislive.core.PortConnectionException
- Throws:
org.praxislive.core.PortConnectionException
-
-