Class ResourceFieldLocation

    • Constructor Detail

      • ResourceFieldLocation

        public ResourceFieldLocation​(Program program,
                                     Address address,
                                     int[] componentPath,
                                     java.lang.String displayValue,
                                     int opIndex,
                                     int characterOffset,
                                     Data data)
        Creates an ResourceFieldLocation
        Parameters:
        program - the program
        address - the address of the location
        componentPath - the data component path
        displayValue - the text being displayed in the text.
        opIndex - the index of the operand at this location.
        characterOffset - the character position from the beginning of the operand.
        data - Data instance at the specified address / component path
      • ResourceFieldLocation

        public ResourceFieldLocation()
        Default constructor needed for restoring from XML.
    • Method Detail

      • getResourceData

        public Data getResourceData()
        Returns the resource's Data instance.
        Returns:
        the resource's Data instance
      • isDataImageResource

        public boolean isDataImageResource()
        Returns true if this resource is a DataImage.
        Returns:
        true if this resource is a DataImage