Interface IMemoryCellObserver

All Known Implementing Classes:
UpdatableMemoryCellObserverAdapter

public interface IMemoryCellObserver
Observes value changes of a memory cell and notifies listeners about new values. Value updates are listenable to through the value property.
Author:
Erik Zemčík
See Also:
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.value.ObservableObjectValue<Integer>
    Property indicating last value of the observed memory cell.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the address of the target memory cell within the execution memory.
    javafx.beans.value.ObservableObjectValue<Integer>
    Property indicating last value of the observed memory cell.
  • Property Details

    • value

      javafx.beans.value.ObservableObjectValue<Integer> valueProperty
      Property indicating last value of the observed memory cell. This property will emit the observed value once the observer observes a change. This property may hold null when the observed memory cell holds no value.
  • Method Details

    • getAddress

      int getAddress()
      Returns the address of the target memory cell within the execution memory.
      Returns:
      address of the memory cell
    • valueProperty

      javafx.beans.value.ObservableObjectValue<Integer> valueProperty()
      Property indicating last value of the observed memory cell. This property will emit the observed value once the observer observes a change. This property may hold null when the observed memory cell holds no value.