예제 #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;
 }
예제 #3
0
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDescriptor();
 }
예제 #4
0
 public com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton
     getButton() {
   return result.getButton();
 }
예제 #5
0
 // required uint32 modifier = 5;
 public boolean hasModifier() {
   return result.hasModifier();
 }
예제 #6
0
 public Builder setModifier(int value) {
   result.hasModifier = true;
   result.modifier_ = value;
   return this;
 }
예제 #7
0
 // required uint32 y = 2;
 public boolean hasY() {
   return result.hasY();
 }
예제 #8
0
 public Builder setNumClicks(int value) {
   result.hasNumClicks = true;
   result.numClicks_ = value;
   return this;
 }
예제 #9
0
 public Builder setX(int value) {
   result.hasX = true;
   result.x_ = value;
   return this;
 }
예제 #10
0
 public Builder clearX() {
   result.hasX = false;
   result.x_ = 0;
   return this;
 }
예제 #11
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;
 }
예제 #12
0
 public boolean isInitialized() {
   return result.isInitialized();
 }
예제 #13
0
 public com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo
     getDefaultInstanceForType() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDefaultInstance();
 }
예제 #14
0
 // required uint32 numClicks = 4;
 public boolean hasNumClicks() {
   return result.hasNumClicks();
 }
예제 #15
0
 public int getY() {
   return result.getY();
 }
예제 #16
0
 public int getNumClicks() {
   return result.getNumClicks();
 }
예제 #17
0
 public Builder setY(int value) {
   result.hasY = true;
   result.y_ = value;
   return this;
 }
예제 #18
0
 public Builder clearNumClicks() {
   result.hasNumClicks = false;
   result.numClicks_ = 0;
   return this;
 }
예제 #19
0
 public Builder clearY() {
   result.hasY = false;
   result.y_ = 0;
   return this;
 }
예제 #20
0
 public int getModifier() {
   return result.getModifier();
 }
예제 #21
0
 // required .scope.MouseInfo.MouseButton button = 3;
 public boolean hasButton() {
   return result.hasButton();
 }
예제 #22
0
 public Builder clearModifier() {
   result.hasModifier = false;
   result.modifier_ = 0;
   return this;
 }
예제 #23
0
 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
   return com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.getDescriptor()
       .getEnumTypes()
       .get(0);
 }