Interface ComponentProxy

All Superinterfaces:
org.openide.util.Lookup.Provider, Proxy
All Known Subinterfaces:
ContainerProxy, RootProxy

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of info property.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.praxislive.core.ComponentAddress
    Address of component.
    default String
    The ID of the component.
    org.praxislive.core.ComponentInfo
    Info for component.
    Parent container.
    org.praxislive.ide.properties.PraxisProperty<?>
    Access the component property with the given ID.
    org.praxislive.core.ComponentType
    Type of component.
    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.

    Methods inherited from interface org.openide.util.Lookup.Provider

    getLookup

    Methods inherited from interface org.praxislive.ide.model.Proxy

    addPropertyChangeListener, getNodeDelegate, removePropertyChangeListener
  • 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

      org.praxislive.ide.properties.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