code: public int getRenderPriority (String action, String component, int orientation)
      {
          // because we expect there to be relatively few priority overrides, we simply search
          // linearly through the list for the closest match
          int ocount = (_overrides != null) ? _overrides.size() : 0;
          for (int ii = 0; ii < ocount; ii++) {
              PriorityOverride over = _overrides.get(ii);
              // based on the way the overrides are sorted, the first match
              // is the most specific and the one we want
              if (over.matches(action, component, orientation)) {
                  return over.renderPriority;
              }
          }
  
          return renderPriority;
      }
docs: Returns the render priority appropriate for the specified action, orientation and
  component.