Uses of Class
org.praxislive.core.Value
-
-
Uses of Value in org.praxislive.base
Methods in org.praxislive.base that return Value Modifier and Type Method Description protected abstract ValueAbstractProperty. get()Get the value.Methods in org.praxislive.base that return types with arguments of type Value Modifier and Type Method Description abstract List<Value>Binding. getValues()Get the most recent synced values, if the Control is a property.Methods in org.praxislive.base with parameters of type Value Modifier and Type Method Description protected abstract voidAbstractProperty. set(long time, Value arg)Set the value.Method parameters in org.praxislive.base with type arguments of type Value Modifier and Type Method Description protected voidBinding.Adaptor. onError(List<Value> args)An optional hook for adaptors to access any error response from a call to send.protected voidBinding.Adaptor. onResponse(List<Value> args)An optional hook for adaptors to access the returned response from a call to send.protected voidBinding.Adaptor. send(List<Value> args)Send the provided values to the Control.protected abstract voidBinding. send(Binding.Adaptor adaptor, List<Value> args) -
Uses of Value in org.praxislive.code
Methods in org.praxislive.code that return Value Modifier and Type Method Description protected abstract ValueAbstractBasicProperty. get()Deprecated.abstract ValuePropertyControl.Binding. get()ValueTypeConverter. getDefaultArgument()Deprecated.abstract ValuePropertyControl.Binding. getDefaultValue()protected ValuePropertyControl. getImpl()protected ValueAbstractAsyncProperty. getKey()abstract ValueTypeConverter. toArgument(T value)Deprecated.default ValueDefaultDelegateAPI. V(Object value)Casting function to convert an object into an appropriate Value subtype.Methods in org.praxislive.code with parameters of type Value Modifier and Type Method Description default PArrayDefaultDelegateAPI. array(Value v)Convert the given Value into aPArray.default booleanDefaultDelegateAPI. b(Value v)Deprecated.protected abstract TaskService.TaskAbstractAsyncProperty. createTask(Value key)protected TaskService.TaskResourceProperty. createTask(Value key)default doubleDefaultDelegateAPI. d(Value v)Deprecated.abstract TTypeConverter. fromArgument(Value value)Deprecated.default intDefaultDelegateAPI. i(Value v)Deprecated.protected voidAbstractAsyncProperty. portInvoke(long time, Value key)voidControlInput.Link. receive(long time, Value value)voidControlInput. receive(long time, Value value)default StringDefaultDelegateAPI. s(Value v)Deprecated.voidControlOutput. send(long time, Value value)protected abstract voidAbstractBasicProperty. set(long time, Value arg)Deprecated.abstract voidPropertyControl.Binding. set(Value value)protected voidPropertyControl. setImpl(long time, Value arg)voidCodeDelegate. tell(ControlAddress destination, Value value)Send a message to a Control.voidCodeDelegate. tellIn(double seconds, ControlAddress destination, Value value)Send a message to a Control in the given number of seconds or fractions of second from now.voidCodeDelegate. transmit(String componentID, String portID, Value value)Send a value to a port on another component.Method parameters in org.praxislive.code with type arguments of type Value Modifier and Type Method Description Async<Call>CodeDelegate. ask(ControlAddress destination, List<Value> args)Call a Control.Constructors in org.praxislive.code with parameters of type Value Constructor Description AbstractAsyncProperty(Value initialKey, Class<V> valueType, V value) -
Uses of Value in org.praxislive.code.userapi
Methods in org.praxislive.code.userapi with type parameters of type Value Modifier and Type Method Description <T extends Value>
Linkable<T>Input. valuesAs(Class<T> type)Return aLinkableof inputs as the provided Value subclass.<T extends Value>
Linkable<T>Property. valuesAs(Class<T> type)Return a newLinkablefor observing changing values.Methods in org.praxislive.code.userapi that return Value Modifier and Type Method Description ValueProperty. get()Return the current value.protected abstract ValueProperty. getImpl()Methods in org.praxislive.code.userapi that return types with arguments of type Value Modifier and Type Method Description Class<? extends Value>value()abstract Optional<Value>Table. valueAt(int row, int column)Methods in org.praxislive.code.userapi with parameters of type Value Modifier and Type Method Description abstract voidOutput. send(Value value)Send a Value.PropertyProperty. set(Value value)Set the current value.protected abstract voidProperty. setImpl(long time, Value arg)protected voidInput. updateLinks(Value value)protected voidProperty. updateLinks(Value value)Method parameters in org.praxislive.code.userapi with type arguments of type Value Modifier and Type Method Description <T> PropertyProperty. linkAs(Function<Value,T> converter, Consumer<T> consumer)Call the provided consumer when the value changes, transformed using the converter into the required type T.<T> PropertyProperty. linkAs(Function<Value,T> converter, Consumer<T>... consumers)<T> Linkable<T>Input. valuesAs(Function<Value,T> converter)Return aLinkableof inputs transformed by the provided converter from Value to the required type.<T> Linkable<T>Property. valuesAs(Function<Value,T> converter)Return a newLinkablefor observing changing values. -
Uses of Value in org.praxislive.core
Classes in org.praxislive.core with type parameters of type Value Modifier and Type Class Description static classValue.Type<T extends Value>The type of a Value.Subclasses of Value in org.praxislive.core Modifier and Type Class Description classArgumentInfoInfo object used to define the valid input and output arguments of a Control.classComponentAddressAddress of a Component.classComponentInfoclassComponentTypeclassControlAddressclassControlInfoclassPortAddressclassPortInfoMethods in org.praxislive.core with type parameters of type Value Modifier and Type Method Description static <T extends Value>
Value.Type<T>Value.Type. of(Class<T> cls)Return the Type mapping for the passed in Value class.Methods in org.praxislive.core that return Value Modifier and Type Method Description static ValueValue. ofObject(Object obj)Convert the provided Object into a Value.abstract ValueValueMapper. toValue(T value)Map the provided T value to a Value.Methods in org.praxislive.core that return types with arguments of type Value Modifier and Type Method Description List<Value>Call. args()Get the argument list of this Call.Value.Type<? extends Value>ArgumentInfo. argumentType()Function<Value,Optional<T>>Value.Type. converter()A convertor function that can convert a value to this type.List<Value>ControlInfo. defaults()static Optional<Value.Type<? extends Value>>Value.Type. fromName(String name)Return the Type with the given name, or an empty optional if unregistered.Methods in org.praxislive.core with parameters of type Value Modifier and Type Method Description static CallCall. create(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, Value arg)Create a Call with Type INVOKE.static ControlInfoControlInfo. createPropertyInfo(ArgumentInfo argument, Value def, PMap properties)static CallCall. createQuiet(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, Value arg)Create a Call with Type INVOKE_QUIET.Info.PropertyInfoBuilderInfo.PropertyInfoBuilder. defaultValue(Value value)Add a default value for this property.booleanComponentInfo. equivalent(Value arg)booleanValue. equivalent(Value value)Indicates whether some other Value is equivalent to this one.static Optional<ArgumentInfo>ArgumentInfo. from(Value arg)static Optional<ComponentAddress>ComponentAddress. from(Value arg)static Optional<ComponentInfo>ComponentInfo. from(Value arg)static Optional<ComponentType>ComponentType. from(Value arg)static Optional<ControlAddress>ControlAddress. from(Value arg)static Optional<ControlInfo>ControlInfo. from(Value arg)static Optional<PortAddress>PortAddress. from(Value arg)static Optional<PortInfo>PortInfo. from(Value arg)abstract TValueMapper. fromValue(Value value)Map the provided Value to a value of type T.TInfo.ArgumentInfoBuilder. property(String key, Value value)Add custom property.abstract voidControlPort.Input. receive(long time, Value value)CallCall. reply(Value arg)Create a return Call for this call with the given argument.abstract voidControlPort.Output. send(long time, Value value)Method parameters in org.praxislive.core with type arguments of type Value Modifier and Type Method Description static CallCall. create(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, List<Value> args)Create a Call with Type INVOKE.static CallCall. createQuiet(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, List<Value> args)Create a Call with Type INVOKE_QUIET.CallCall. error(List<Value> args)Create an error return Call for this call, with the given arguments.Info.PropertyInfoBuilderInfo.PropertyInfoBuilder. input(Class<? extends Value> type)Add input ArgumentInfo for the provided value type.static ArgumentInfoArgumentInfo. of(Class<? extends Value> argClass)Create an ArgumentInfo from the Value class and optional PMap of additional properties.static ArgumentInfoArgumentInfo. of(Class<? extends Value> argClass, PMap properties)Create an ArgumentInfo from the Value class and optional PMap of additional properties.Info.ReadOnlyPropertyInfoBuilderInfo.ReadOnlyPropertyInfoBuilder. output(Class<? extends Value> type)Add output ArgumentInfo for the provided value type.CallCall. reply(List<Value> args)Create a return Call for this call with the given arguments.Info.ValueInfoBuilderInfo.ArgumentInfoChooser. type(Class<? extends Value> cls)Create a ValueInfoBuilder for the provided value type.Constructor parameters in org.praxislive.core with type arguments of type Value Constructor Description ValueMapper(Type type, Class<? extends Value> valueCls)Base constructor. -
Uses of Value in org.praxislive.core.services
Methods in org.praxislive.core.services that return Value Modifier and Type Method Description ValueTaskService.Task. execute()Called to execute task.Methods in org.praxislive.core.services that return types with arguments of type Value Modifier and Type Method Description List<Value>LogBuilder. toList() -
Uses of Value in org.praxislive.core.types
Subclasses of Value in org.praxislive.core.types Modifier and Type Class Description classPArrayAn ordered list of Values.classPBooleanclassPBytesclassPErrorclassPMapAn ordered map of Strings to Values.classPNumberclassPReferenceclassPResourceclassPStringFields in org.praxislive.core.types with type parameters of type Value Modifier and Type Field Description static BinaryOperator<Value>PMap. IF_ABSENTAn operator for use withPMap.merge(org.praxislive.core.types.PMap, org.praxislive.core.types.PMap, java.util.function.BinaryOperator)that only adds mappings where the key is not present in the base map.static BinaryOperator<Value>PMap. REPLACEAn operator for use withPMap.merge(org.praxislive.core.types.PMap, org.praxislive.core.types.PMap, java.util.function.BinaryOperator)that will replace mapped values in the base map, unless the new value is empty in which case the mapping is removed.Methods in org.praxislive.core.types with type parameters of type Value Modifier and Type Method Description static <T extends Value>
Collector<T,?,PArray>PArray. collector()Create aCollectorthat can create a PArray from a Stream of Values.Methods in org.praxislive.core.types that return Value Modifier and Type Method Description ValuePArray. get(int index)Query the value at the given index in the list.ValuePMap. get(String key)Get the value for the given key, or null if the key does not exist.Methods in org.praxislive.core.types that return types with arguments of type Value Modifier and Type Method Description List<Value>PArray. asList()An unmodifiableListview of this list of values.Iterator<Value>PArray. iterator()Stream<Value>PArray. stream()An ordered stream over the list of values.Methods in org.praxislive.core.types with parameters of type Value Modifier and Type Method Description booleanPArray. equivalent(Value arg)booleanPBytes. equivalent(Value arg)booleanPMap. equivalent(Value arg)booleanPNumber. equivalent(Value arg)booleanPReference. equivalent(Value arg)static Optional<PArray>PArray. from(Value value)Cast or convert the provided value into a PArray, wrapped in an Optional.static Optional<PBoolean>PBoolean. from(Value arg)static Optional<PBytes>PBytes. from(Value arg)static Optional<PError>PError. from(Value arg)static Optional<PMap>PMap. from(Value value)Cast or convert the provided value into a PMap, wrapped in an Optional.static Optional<PNumber>PNumber. from(Value arg)static Optional<PReference>PReference. from(Value arg)static Optional<PResource>PResource. from(Value arg)static Optional<PString>PString. from(Value arg)static PArrayPArray. of(Value... values)Create a PArray from the given collection of values.PMap.BuilderPMap.Builder. put(String key, Value value)Add a mapping for the given key and value.Method parameters in org.praxislive.core.types with type arguments of type Value Modifier and Type Method Description static PMapPMap. merge(PMap base, PMap additional, BinaryOperator<Value> operator)Create a new PMap by merging the additional map into the base map, according to the result of the provided operator.static PArrayPArray. of(Collection<? extends Value> collection)Create a PArray from the given collection of values. -
Uses of Value in org.praxislive.script
Methods in org.praxislive.script that return Value Modifier and Type Method Description ValueVariable. getValue()Methods in org.praxislive.script that return types with arguments of type Value Modifier and Type Method Description List<Value>InlineCommand. process(Env context, Namespace namespace, List<Value> args)List<Value>StackFrame. result()Methods in org.praxislive.script with parameters of type Value Modifier and Type Method Description voidVariable. setValue(Value value)Method parameters in org.praxislive.script with type arguments of type Value Modifier and Type Method Description StackFrameCommand. createStackFrame(Namespace namespace, List<Value> args)voidStackFrame. postResponse(StackFrame.State state, List<Value> args)List<Value>InlineCommand. process(Env context, Namespace namespace, List<Value> args) -
Uses of Value in org.praxislive.script.impl
Methods in org.praxislive.script.impl that return Value Modifier and Type Method Description ValueConstantImpl. getValue()ValueVariableImpl. getValue()Methods in org.praxislive.script.impl that return types with arguments of type Value Modifier and Type Method Description protected List<Value>AbstractSingleCallFrame. processResult(List<Value> result)List<Value>AbstractSingleCallFrame. result()Methods in org.praxislive.script.impl with parameters of type Value Modifier and Type Method Description voidConstantImpl. setValue(Value value)voidVariableImpl. setValue(Value value)Method parameters in org.praxislive.script.impl with type arguments of type Value Modifier and Type Method Description protected abstract CallAbstractSingleCallFrame. createCall(Env env, List<Value> args)StackFrameAbstractInlineCommand. createStackFrame(Namespace namespace, List<Value> args)voidAbstractSingleCallFrame. postResponse(StackFrame.State state, List<Value> args)protected List<Value>AbstractSingleCallFrame. processResult(List<Value> result)Constructors in org.praxislive.script.impl with parameters of type Value Constructor Description ConstantImpl(Value value)VariableImpl(Value value)Constructor parameters in org.praxislive.script.impl with type arguments of type Value Constructor Description AbstractSingleCallFrame(Namespace namespace, List<Value> args)
-