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