Пример #1
0
 public Builder setButton(
     com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton value) {
   if (value == null) {
     throw new NullPointerException();
   }
   result.hasButton = true;
   result.button_ = value;
   return this;
 }
Пример #2
0
 public Builder clearButton() {
   result.hasButton = false;
   result.button_ =
       com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton.LEFT;
   return this;
 }