Ejemplo n.º 1
0
 public Builder mergeFrom(
     com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo other) {
   if (other
       == com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDefaultInstance())
     return this;
   if (other.hasX()) {
     setX(other.getX());
   }
   if (other.hasY()) {
     setY(other.getY());
   }
   if (other.hasButton()) {
     setButton(other.getButton());
   }
   if (other.hasNumClicks()) {
     setNumClicks(other.getNumClicks());
   }
   if (other.hasModifier()) {
     setModifier(other.getModifier());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Ejemplo n.º 2
0
 public int getModifier() {
   return result.getModifier();
 }