java.lang.Object
org.praxislive.core.Info
Builder utilities for creating
ComponentInfo and related classes.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for ControlInfo of action controls.static classInfo.ArgumentInfoBuilder<T extends Info.ArgumentInfoBuilder<T>>Abstract base class for ArgumentInfoBuilders.static final classHelper class for choosing an ArgumentInfoBuilder type.static final classComponentInfoBuilder classstatic classInfo.ControlInfoBuilder<T extends Info.ControlInfoBuilder<T>>Abstract base class for ControlInfo builders.static final classHelper class for choosing a ControlInfoBuilder type.static final classBuilder for ControlInfo for function controls.static final classBuilder for ArgumentInfo of PNumber.static final classPortInfoBuilderstatic final classHelper class to choose a PortInfoBuilder type.static final classBuilder for ControlInfo of property controls.static final classBuilder for ControlInfo of read-only properties.static final classBuilder for ArgumentInfo of PString.static final classBuilder for ArgumentInfo of any Value type. -
Method Summary
Modifier and TypeMethodDescriptionstatic Info.ArgumentInfoChooserargument()Get an ArgumentInfoChooser to choose an ArgumentInfoBuilder.static ArgumentInfoApply the provided function to an ArgumentInfoChooser to choose and configure an ArgumentInfoBuilder and return the resulting ArgumentInfo.static Info.ComponentInfoBuilderCreate a ComponentInfoBuilderstatic ComponentInfoApply the provided function to a new ComponentInfoBuilder and return the resulting ComponentInfo.static Info.ControlInfoChoosercontrol()Get a ControlInfoChooser to choose a ControlInfoBuilderstatic ControlInfoApply the provided function to a ControlInfoChooser to choose and customize a ControlInfoBuilder and return the resulting ControlInfo.static Info.PortInfoChooserport()Get a PortInfoChooser to choose a PortInfoBuilderstatic PortInfoApply the provided function to a PortInfoChooser to choose and customize a PortInfoBuilder and return the resulting PortInfo.
-
Method Details
-
component
Create a ComponentInfoBuilder- Returns:
- builder
-
component
Apply the provided function to a new ComponentInfoBuilder and return the resulting ComponentInfo.- Parameters:
cmp- function to modify builder- Returns:
- ComponentInfo from builder
-
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
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
Get an ArgumentInfoChooser to choose an ArgumentInfoBuilder.- Returns:
- builder chooser
-
argument
public static ArgumentInfo argument(Function<Info.ArgumentInfoChooser, Info.ArgumentInfoBuilder<?>> a) 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
-