Interface MemoryBlockListener


  • public interface MemoryBlockListener
    Methods for a listener that is called when changes are made to a MemoryBlock.
    • Method Detail

      • nameChanged

        void nameChanged​(MemoryBlock block,
                         java.lang.String oldName,
                         java.lang.String newName)
        Notification the name changed.
        Parameters:
        block - affected block
        oldName - old name
        newName - new name
      • commentChanged

        void commentChanged​(MemoryBlock block,
                            java.lang.String oldComment,
                            java.lang.String newComment)
        Notification that the block's comment changed.
        Parameters:
        block - affected block
        oldComment - old comment; may be null
        newComment - new comment; may be null
      • readStatusChanged

        void readStatusChanged​(MemoryBlock block,
                               boolean isRead)
        Notification the block's read attribute has changed.
        Parameters:
        block - affected block
        isRead - true means the block is marked as readable
      • writeStatusChanged

        void writeStatusChanged​(MemoryBlock block,
                                boolean isWrite)
        Notification that the block's write attribute has changed.
        Parameters:
        block - affected block
        isWrite - true means the block is marked as writable
      • executeStatusChanged

        void executeStatusChanged​(MemoryBlock block,
                                  boolean isExecute)
        Notification that the block's execute attribute has changed.
        Parameters:
        block - affected block
        isExecute - true means the block is marked as executable
      • sourceChanged

        void sourceChanged​(MemoryBlock block,
                           java.lang.String oldSource,
                           java.lang.String newSource)
        Notification that the source of the block has changed.
        Parameters:
        block - affected block
        oldSource - old source
        newSource - new source
      • sourceOffsetChanged

        void sourceOffsetChanged​(MemoryBlock block,
                                 long oldOffset,
                                 long newOffset)
        Notification that the source offset has changed.
        Parameters:
        block - affected block
        oldOffset - old offset
        newOffset - new offset
      • dataChanged

        void dataChanged​(MemoryBlock block,
                         Address addr,
                         byte[] oldData,
                         byte[] newData)
        Notification that bytes changed in the block.
        Parameters:
        block - affected block
        addr - starting address of the change
        oldData - old byte values
        newData - new byte values