Package org.praxislive.ide.model
Interface ComponentProxy
- All Superinterfaces:
org.openide.util.Lookup.Provider,Proxy
- All Known Subinterfaces:
ContainerProxy,RootProxy
A proxy of a PraxisCORE component.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.praxislive.core.ComponentAddressAddress of component.default StringgetID()The ID of the component.org.praxislive.core.ComponentInfogetInfo()Info for component.Parent container.org.praxislive.ide.properties.PraxisProperty<?> getProperty(String id) Access the component property with the given ID.org.praxislive.core.ComponentTypegetType()Type of component.CompletionStage<List<org.praxislive.core.Value>> Send a call to the specified control on the underlying component.Methods inherited from interface org.openide.util.Lookup.Provider
getLookupMethods inherited from interface org.praxislive.ide.model.Proxy
addPropertyChangeListener, getNodeDelegate, removePropertyChangeListener
-
Field Details
-
INFO
Name of info property. Used in property change events.- See Also:
-
-
Method Details
-
getAddress
org.praxislive.core.ComponentAddress getAddress()Address of component.- Returns:
- component address
-
getID
The ID of the component.The default implementation calls
getAddress(), returning the ID component of the address, ornullif the address isnull.- Returns:
- component ID
-
getType
org.praxislive.core.ComponentType getType()Type of component.- Returns:
- component type
-
getInfo
org.praxislive.core.ComponentInfo getInfo()Info for component.- Returns:
- component info
-
getParent
ContainerProxy getParent()Parent container.- Returns:
- parent
-
getProperty
Access the component property with the given ID.- Parameters:
id- property ID- Returns:
- property
-
send
CompletionStage<List<org.praxislive.core.Value>> send(String control, List<org.praxislive.core.Value> args) Send a call to the specified control on the underlying component.- Parameters:
control- control IDargs- call arguments- Returns:
- completion stage for result
-