java.lang.Object
org.praxislive.code.SharedCodeProperty
- All Implemented Interfaces:
Control
A property control for shared code classes. A SharedCodeProperty can be added
to a container (eg. Root). The
SharedCodeContext should be added to
the container's lookup where it can be found and used by contained code
components.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSharedCodeProperty(Lookup.Provider lookupContext, Consumer<LogBuilder> logHandler) Create a shared code property. -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(Call call, PacketRouter router) The shared code context, which should be added to the container's lookup.getValue()Access the current value as a map.
-
Field Details
-
INFO
-
-
Constructor Details
-
SharedCodeProperty
Create a shared code property.- Parameters:
lookupContext- lookup provider, eg. the containerlogHandler- a consumer for logs
-
-
Method Details