Class EditorVSFocusReference

    • Constructor Detail

      • EditorVSFocusReference

        public EditorVSFocusReference()
        Creates a VirtualSpace focus reference property with no name and with a null value.
      • EditorVSFocusReference

        public EditorVSFocusReference​(Atom propertyAtom)
        Creates a VirtualSpace focus reference property with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • EditorVSFocusReference

        public EditorVSFocusReference​(Atom propertyAtom,
                                      java.lang.String newValue)
        Creates a VirtualSpace focus reference property with the specified name and value.
        Parameters:
        propertyAtom - the property atom.
        newValue - the new string value for the property.
    • Method Detail

      • onResolved

        protected void onResolved​(VSComponent target)
        Called when the property reference has been resolved. Overrides the super-method to avoid having the component references with listeners and to verify the focusability of the reference in the Designer.
        Overrides:
        onResolved in class VSFocusReference
        Parameters:
        target - The target reference.
      • onRemoved

        protected void onRemoved​(VSComponent oldTarget)
        Called when the property reference has been disposed of e.g. due to new reference or pure disposal of this property.

        Overrides the super-method to remove the focus potential error property if the component is not focusable.

        Overrides:
        onRemoved in class VSFocusReference
        Parameters:
        oldTarget - The old target reference.