Interface IVSFieldListener

    • Method Detail

      • onResolved

        void onResolved​(VSRelativeReference<?> reference,
                        VSField field)
        Called when the property reference has been resolved. UI components use this method to set its state according to the field.
        Parameters:
        reference - The VSRelativeReference instance holding the reference.
        field - The target reference.
      • onBroken

        void onBroken​(VSRelativeReference<?> reference,
                      VSField field)
        Called when the property reference has been broken, i.e. unresolved.
        Parameters:
        reference - The VSRelativeReference instance holding the reference.
        field - The target reference.
      • onStateChanged

        void onStateChanged​(VSField field,
                            IVSComponentState.State state,
                            boolean on)
        Called when the field changes state.
        Parameters:
        field - The VS field.
        state - The state change.
        on - New state.
      • onValueChanged

        void onValueChanged​(VSField field,
                            Value value,
                            GProp<?> trigger,
                            IPostEventProcessing postProcessing)
        Called when the field value is set.
        Parameters:
        field - The VS field.
        value - The value, never null, but value.isNull() could be true.
        trigger - The trigger property that may be null.
        postProcessing - Post-processing instance.
      • getBestVSFieldValueType

        Value.Type getBestVSFieldValueType​(VSRelativeReference<?> reference)
        Requests the value type that would best suit the listener.
        Parameters:
        reference - The VSRelativeReference instance holding the reference.
        Returns:
        null if none is available.