Interface DebuggerColumn<T>

    • Method Detail

      • getClassType

        java.lang.Class<T> getClassType()
        Gets class type of the column.
        Returns:
        Java type of this column
      • getTitle

        java.lang.String getTitle()
        Gets title of the column.
        Returns:
        title of this column
      • isEditable

        boolean isEditable()
        Determines whether this column is editable by user. For example, a "mnemo" column shouldn't be editable, but "breakpoint" column can (and should). Note that the returned value holds to all cells in the column.
        Returns:
        true if the column is editable, false otherwise
      • setValue

        void setValue​(int location,
                      java.lang.Object value)
               throws CannotSetDebuggerValueException
        Set a value to a column cell. It is called by emuStudio when user sets a value to a cell in the debugger table. It is used only if the column is editable (see isEditable method). NOTE: This method should ensure proper changes in CPU's internal state, if necessary.
        Parameters:
        location - Cell index (usually memory address). It is not a "row number" in the debugger table.
        value - new value assigned to the cell
        Throws:
        CannotSetDebuggerValueException - if the value cannot be assigned, for any reason
      • getValue

        T getValue​(int location)
        Gets a value from the column cell. It is called by emuStudio when rendering the debugger table.
        Parameters:
        location - Cell index (usually memory address). It is not a "row number" in the debugger table.
        Returns:
        cell value
      • getDefaultWidth

        default int getDefaultWidth()
        Get default width of the column in pixels. If it is not known, this method should return -1.
        Returns:
        default width of the column in pixels or -1 if it is not known