Class VSOnUIEvent

    • Constructor Detail

      • VSOnUIEvent

        public VSOnUIEvent()
        Creates the event listener property without name.
      • VSOnUIEvent

        public VSOnUIEvent​(Atom atom)
        Creates the event listener property.
        Parameters:
        atom - The property name.
    • Method Detail

      • isPropPrivateAtCreation

        protected boolean isPropPrivateAtCreation()
        Called upon creation of the property to check it's private state. This is used by properties that are not distributed to the remote party.
        Overrides:
        isPropPrivateAtCreation in class VSRelativeReference<VSComponent>
        Returns:
        false, always.
      • appendPropValue

        protected void appendPropValue​(PropMgr propertyManager,
                                       SendTransaction trans,
                                       java.lang.Object value)
        Appends the string property value. If uninitialized, an empty string is appended.
        Overrides:
        appendPropValue in class StringProp
        Parameters:
        propertyManager - the property manager instance.
        trans - transaction to append the properties to.
        value - the value to append to the transaction, a reference to the current property value.
      • initializeValue

        public boolean initializeValue​(PropMgr propertyManager,
                                       ReadTransaction trans)
                                throws PropException
        Initializes the property value from a transaction.
        Overrides:
        initializeValue in class StringProp
        Parameters:
        propertyManager - the property manager.
        trans - the transaction to initialize the property with.
        Returns:
        true if the value has changed, false otherwise.
        Throws:
        PropException
      • 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.
        Specified by:
        onRemoved in class VSRelativeReference<VSComponent>
        Parameters:
        oldTarget - The old target reference.
      • onRemoteEvent

        public void onRemoteEvent​(RemoteEvent event)
        Remote event to invoke the action or set focus to the VS component.
        Specified by:
        onRemoteEvent in interface IGProp<java.lang.String>
        Overrides:
        onRemoteEvent in class GProp<java.lang.String>
        Parameters:
        event - The remote event.