Class PropertyControl.Descriptor

    • Method Detail

      • attach

        public void attach​(CodeContext<?> context,
                           Control previous)
        Description copied from class: ControlDescriptor
        Configure 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:
        attach in class ControlDescriptor
        Parameters:
        context - context being attached to
        previous - previous control with same ID, may be null or different type
      • getControl

        public Control getControl()
        Description copied from class: ControlDescriptor
        Get the wrapped control. Should only be called when attached - behaviour is otherwise undefined.
        Specified by:
        getControl in class ControlDescriptor
        Returns:
        control
      • reset

        public void reset​(boolean full)
        Description copied from class: ControlDescriptor
        Hook called to reset during attachment / detachment, or execution context state changes. Full reset happens on execution context changes.
        Overrides:
        reset in class ControlDescriptor
        Parameters:
        full - true if execution context state