Class Info

java.lang.Object
org.praxislive.core.Info

public class Info extends Object
Builder utilities for creating ComponentInfo and related classes.
  • Method Details

    • component

      public static Info.ComponentInfoBuilder component()
      Create a ComponentInfoBuilder
      Returns:
      builder
    • component

      public static ComponentInfo component(UnaryOperator<Info.ComponentInfoBuilder> cmp)
      Apply the provided function to a new ComponentInfoBuilder and return the resulting ComponentInfo.
      Parameters:
      cmp - function to modify builder
      Returns:
      ComponentInfo from builder
    • port

      public static Info.PortInfoChooser port()
      Get a PortInfoChooser to choose a PortInfoBuilder
      Returns:
      builder chooser
    • port

      Apply the provided function to a PortInfoChooser to choose and customize a PortInfoBuilder and return the resulting PortInfo.
      Parameters:
      p - function to choose and configure builder
      Returns:
      PortInfo from builder
    • control

      public static Info.ControlInfoChooser control()
      Get a ControlInfoChooser to choose a ControlInfoBuilder
      Returns:
      builder chooser
    • control

      Apply the provided function to a ControlInfoChooser to choose and customize a ControlInfoBuilder and return the resulting ControlInfo.
      Parameters:
      c - function to choose and configure builder
      Returns:
      ControlInfo from builder
    • argument

      public static Info.ArgumentInfoChooser argument()
      Get an ArgumentInfoChooser to choose an ArgumentInfoBuilder.
      Returns:
      builder chooser
    • argument

      Apply the provided function to an ArgumentInfoChooser to choose and configure an ArgumentInfoBuilder and return the resulting ArgumentInfo.
      Parameters:
      a - function to choose and configure builder
      Returns:
      ArgumentInfo from builder