Package org.praxislive.ide.pxr
Class PXRContainerProxy
java.lang.Object
org.praxislive.ide.pxr.PXRComponentProxy
org.praxislive.ide.pxr.PXRContainerProxy
- All Implemented Interfaces:
org.openide.util.Lookup.Provider,ComponentProxy,ContainerProxy,Proxy
- Direct Known Subclasses:
PXRRootProxy
-
Field Summary
Fields inherited from interface org.praxislive.ide.model.ComponentProxy
INFOFields inherited from interface org.praxislive.ide.model.ContainerProxy
CHILDREN, CONNECTIONS, SUPPORTED_TYPES -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<? extends PXRComponentProxy> Add a child component to the underlying container.children()Stream of all child IDs.CompletionStage<org.praxislive.core.Connection> connect(org.praxislive.core.Connection connection) Create a connection between two child component ports.Stream<org.praxislive.core.Connection> Stream of connections.disconnect(org.praxislive.core.Connection connection) Break a connection between two child component ports.Get the proxy for the given child.org.openide.nodes.NodeGet the node representation of this proxy.protected booleanremoveChild(String id) Remove a child from the underlying container.List<org.praxislive.core.ComponentType> List of supported child types.Methods inherited from class org.praxislive.ide.pxr.PXRComponentProxy
addPropertyChangeListener, createPropertyForControl, getAddress, getInfo, getLookup, getParent, getProperty, getPropertyIDs, getType, removePropertyChangeListener, sendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.ide.model.ComponentProxy
getAddress, getID, getInfo, getParent, getProperty, getType, sendMethods inherited from interface org.openide.util.Lookup.Provider
getLookupMethods inherited from interface org.praxislive.ide.model.Proxy
addPropertyChangeListener, removePropertyChangeListener
-
Method Details
-
getChild
Description copied from interface:ContainerProxyGet the proxy for the given child.- Specified by:
getChildin interfaceContainerProxy- Parameters:
id- child ID- Returns:
-
children
Description copied from interface:ContainerProxyStream of all child IDs.- Specified by:
childrenin interfaceContainerProxy- Returns:
- childs IDs
-
supportedTypes
Description copied from interface:ContainerProxyList of supported child types.- Specified by:
supportedTypesin interfaceContainerProxy- Returns:
- supported child types
-
addChild
public CompletionStage<? extends PXRComponentProxy> addChild(String id, org.praxislive.core.ComponentType type) Description copied from interface:ContainerProxyAdd a child component to the underlying container.- Specified by:
addChildin interfaceContainerProxy- Parameters:
id- child IDtype- component type- Returns:
- completion stage of added child
-
removeChild
Description copied from interface:ContainerProxyRemove a child from the underlying container.- Specified by:
removeChildin interfaceContainerProxy- Parameters:
id- child ID- Returns:
- completion stage
-
connect
public CompletionStage<org.praxislive.core.Connection> connect(org.praxislive.core.Connection connection) Description copied from interface:ContainerProxyCreate a connection between two child component ports.- Specified by:
connectin interfaceContainerProxy- Parameters:
connection- connection description- Returns:
- completion stage of added connection
-
disconnect
Description copied from interface:ContainerProxyBreak a connection between two child component ports.- Specified by:
disconnectin interfaceContainerProxy- Parameters:
connection- connection description- Returns:
- completion stage
-
getNodeDelegate
public org.openide.nodes.Node getNodeDelegate()Description copied from interface:ProxyGet the node representation of this proxy.- Specified by:
getNodeDelegatein interfaceProxy- Overrides:
getNodeDelegatein classPXRComponentProxy- Returns:
- node
-
connections
Description copied from interface:ContainerProxyStream of connections.- Specified by:
connectionsin interfaceContainerProxy- Returns:
- connection
-
isProxiedProperty
- Overrides:
isProxiedPropertyin classPXRComponentProxy
-