Class ViewModelNotifyEvent

java.lang.Object
com._1c.g5.aef2.standard.events.ViewModelNotifyEvent
All Implemented Interfaces:
IEvent

public class ViewModelNotifyEvent extends Object implements IEvent
The view model notification event.
  • Constructor Details

    • ViewModelNotifyEvent

      public ViewModelNotifyEvent(Runnable runnable, Model notifier)
      Creates a new event.
      Parameters:
      runnable - the runnable to execute according to receiver's logic, cannot be null.
      notifier - the notifier model, cannot be null.
  • Method Details

    • getRunnable

      public Runnable getRunnable()
      Returns the runnable to execute according to receiver's logic.
      Returns:
      the runnable, never null.
    • needsProcessing

      public boolean needsProcessing()
      Returns if the event needs to be processed.
      Returns:
      if the event needs to be processed.