Interface ComponentProxy

All Superinterfaces:
org.openide.util.Lookup.Provider, Proxy
All Known Subinterfaces:
ContainerProxy, RootProxy
All Known Implementing Classes:
PXRComponentProxy, PXRContainerProxy, PXRRootProxy

public interface ComponentProxy extends Proxy
A proxy of a PraxisCORE component.
  • Field Details

  • Method Details

    • getAddress

      org.praxislive.core.ComponentAddress getAddress()
      Address of component.
      Returns:
      component address
    • getID

      default String getID()
      The ID of the component.

      The default implementation calls getAddress(), returning the ID component of the address, or null if the address is null.

      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

      PraxisProperty<?> getProperty(String id)
      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 ID
      args - call arguments
      Returns:
      completion stage for result