java.lang.Object
org.praxislive.code.Descriptor<InfoProperty.Descriptor>
org.praxislive.code.ControlDescriptor<InfoProperty.Descriptor>
org.praxislive.code.InfoProperty.Descriptor
- Enclosing class:
InfoProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class org.praxislive.code.ControlDescriptor
ControlDescriptor.Category -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(CodeContext<?> context, InfoProperty.Descriptor previous) Attach the descriptor to the provided context.control()Get the wrapped control.Get the control info for this control.Methods inherited from class org.praxislive.code.ControlDescriptor
category, index
-
Constructor Details
-
Descriptor
public Descriptor(int index)
-
-
Method Details
-
controlInfo
Description copied from class:ControlDescriptorGet the control info for this control.- Specified by:
controlInfoin classControlDescriptor<InfoProperty.Descriptor>- Returns:
- info
-
attach
Description copied from class:DescriptorAttach the descriptor to the provided context. The previous descriptor with the same ID and type is provided, if it exists. The implementation should handle disposal of the previous descriptor if required.The
Descriptor.onInit()hook will be called after attachment if the code context is active, or when the code context becomes active.- Specified by:
attachin classDescriptor<InfoProperty.Descriptor>- Parameters:
context- code contextprevious- previous descriptor or null
-
control
Description copied from class:ControlDescriptorGet the wrapped control. Should only be called when attached - behaviour is otherwise undefined.- Specified by:
controlin classControlDescriptor<InfoProperty.Descriptor>- Returns:
- control
-