- java.lang.Object
-
- org.praxislive.code.ControlDescriptor
-
- org.praxislive.code.PropertyControl.Descriptor
-
- Enclosing class:
- PropertyControl
public static class PropertyControl.Descriptor extends ControlDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.praxislive.code.ControlDescriptor
ControlDescriptor.Category
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattach(CodeContext<?> context, Control previous)Configure the control for the provided context during attachment.static PropertyControl.Descriptorcreate(CodeConnector<?> connector, P ann, Field field)PortDescriptorcreatePortDescriptor()ControlgetControl()Get the wrapped control.ControlInfogetInfo()Get the control info for this control.voidreset(boolean full)Hook called to reset during attachment / detachment, or execution context state changes.voidstopping()Deprecated hook - no op!-
Methods inherited from class org.praxislive.code.ControlDescriptor
dispose, getCategory, getID, getIndex
-
-
-
-
Method Detail
-
getInfo
public ControlInfo getInfo()
Description copied from class:ControlDescriptorGet the control info for this control.- Specified by:
getInfoin classControlDescriptor- Returns:
- info
-
attach
public void attach(CodeContext<?> context, Control previous)
Description copied from class:ControlDescriptorConfigure the control for the provided context during attachment. The previous control with the same ID is provided - it may be null or of a different type.Note : any control passed in as previous will not be disposed
- Specified by:
attachin classControlDescriptor- Parameters:
context- context being attached toprevious- previous control with same ID, may be null or different type
-
getControl
public Control getControl()
Description copied from class:ControlDescriptorGet the wrapped control. Should only be called when attached - behaviour is otherwise undefined.- Specified by:
getControlin classControlDescriptor- Returns:
- control
-
createPortDescriptor
public PortDescriptor createPortDescriptor()
-
reset
public void reset(boolean full)
Description copied from class:ControlDescriptorHook called to reset during attachment / detachment, or execution context state changes. Full reset happens on execution context changes.- Overrides:
resetin classControlDescriptor- Parameters:
full- true if execution context state
-
stopping
public void stopping()
Description copied from class:ControlDescriptorDeprecated hook - no op!- Overrides:
stoppingin classControlDescriptor
-
create
public static PropertyControl.Descriptor create(CodeConnector<?> connector, P ann, Field field)
-
-