Class EditorVSOnUIEvent

All Implemented Interfaces:
EventListener, IGProp<String>, IPropReference, IReferencingGProp, Cloneable

public class EditorVSOnUIEvent extends VSOnUIEvent
OnFocus reference is used to set a reference to a focusable VSComponent.
Author:
Christopher Mindus
  • Constructor Details

    • EditorVSOnUIEvent

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

      public EditorVSOnUIEvent(Atom atom)
      Creates a VirtualSpace focus reference property with no name and with a null value.
      Parameters:
      atom - The atom name.
  • Method Details

    • clone

      public EditorVSOnUIEvent clone()
      Clones.
      Overrides:
      clone in class VSRelativeReference<VSComponent>
      Returns:
      A new cloned String property.
    • 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 VSOnUIEvent
      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 VSOnUIEvent
      Parameters:
      oldTarget - The old target reference.