Class AddressColumn

  • All Implemented Interfaces:
    DebuggerColumn<java.lang.String>

    public class AddressColumn
    extends java.lang.Object
    implements DebuggerColumn<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      AddressColumn()
      Create new instance of the address column.
      AddressColumn​(java.lang.String addressFormat)
      Create new instance of the address column.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<java.lang.String> getClassType()
      Gets class type of the column.
      int getDefaultWidth()
      Get default width of the column in pixels.
      java.lang.String getTitle()
      Gets title of the column.
      java.lang.String getValue​(int location)
      Return formatted address into hexadecimal digit, aligned to 4 digits.
      boolean isEditable()
      Determines whether this column is editable by user.
      void setValue​(int location, java.lang.Object value)
      Has no effect.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddressColumn

        public AddressColumn()
        Create new instance of the address column.

        Address format is "%04X".

      • AddressColumn

        public AddressColumn​(java.lang.String addressFormat)
        Create new instance of the address column.
        Parameters:
        addressFormat - Address format used for calling String.format()
    • Method Detail

      • getClassType

        public java.lang.Class<java.lang.String> getClassType()
        Description copied from interface: DebuggerColumn
        Gets class type of the column.
        Specified by:
        getClassType in interface DebuggerColumn<java.lang.String>
        Returns:
        Java type of this column
      • getTitle

        public java.lang.String getTitle()
        Description copied from interface: DebuggerColumn
        Gets title of the column.
        Specified by:
        getTitle in interface DebuggerColumn<java.lang.String>
        Returns:
        title of this column
      • isEditable

        public boolean isEditable()
        Description copied from interface: DebuggerColumn
        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.
        Specified by:
        isEditable in interface DebuggerColumn<java.lang.String>
        Returns:
        true if the column is editable, false otherwise
      • setValue

        public void setValue​(int location,
                             java.lang.Object value)
        Has no effect.
        Specified by:
        setValue in interface DebuggerColumn<java.lang.String>
        Parameters:
        location - memory address (not row in debug table)
        value - new value of the cell
      • getValue

        public java.lang.String getValue​(int location)
        Return formatted address into hexadecimal digit, aligned to 4 digits.
        Specified by:
        getValue in interface DebuggerColumn<java.lang.String>
        Parameters:
        location - memory address (not row in debug table)
        Returns:
        String value with formatted address
      • getDefaultWidth

        public int getDefaultWidth()
        Description copied from interface: DebuggerColumn
        Get default width of the column in pixels. If it is not known, this method should return -1.
        Specified by:
        getDefaultWidth in interface DebuggerColumn<java.lang.String>
        Returns:
        default width of the column in pixels or -1 if it is not known