Class RegisterMode

  • All Implemented Interfaces:
    Item

    public class RegisterMode
    extends java.lang.Object
    implements Item
    • Constructor Summary

      Constructors 
      Constructor Description
      RegisterMode​(java.lang.String nameRegex, java.lang.String memoryName, boolean frameDependence, int startIndex, int endIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean check​(java.lang.String item)
      Checks the item type.
      int getEndIndex()  
      boolean getFrameDependence()  
      int getIndex​(java.lang.String register)  
      java.lang.String getItemName()  
      java.lang.String getShortDescription​(int index)
      Returns a short description of item with the specified index
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • RegisterMode

        public RegisterMode​(java.lang.String nameRegex,
                            java.lang.String memoryName,
                            boolean frameDependence,
                            int startIndex,
                            int endIndex)
    • Method Detail

      • getItemName

        public java.lang.String getItemName()
        Specified by:
        getItemName in interface Item
        Returns:
        the item name in model
      • getIndex

        public int getIndex​(java.lang.String register)
        Specified by:
        getIndex in interface Item
        Parameters:
        register - from trace
        Returns:
        index of item
      • check

        public boolean check​(java.lang.String item)
        Description copied from interface: Item
        Checks the item type.
        Specified by:
        check in interface Item
        Parameters:
        item - from check
        Returns:
        true if this item matches type, false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getEndIndex

        public int getEndIndex()
        Specified by:
        getEndIndex in interface Item
        Returns:
        the last index value
      • getFrameDependence

        public boolean getFrameDependence()
        Specified by:
        getFrameDependence in interface Item
        Returns:
        true if access to the item depends on the frame
      • getShortDescription

        public java.lang.String getShortDescription​(int index)
        Description copied from interface: Item
        Returns a short description of item with the specified index
        Specified by:
        getShortDescription in interface Item
        Parameters:
        index - of the item
        Returns:
        a short description