Initial commit
This commit is contained in:
50
sources/com/ubt/jimu/controller/data/keymap/KeyMap.java
Normal file
50
sources/com/ubt/jimu/controller/data/keymap/KeyMap.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package com.ubt.jimu.controller.data.keymap;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamOmitField;
|
||||
import com.ubt.jimu.controller.data.keymap.entity.Key;
|
||||
|
||||
@XStreamAlias("KeyMap")
|
||||
/* loaded from: classes.dex */
|
||||
public class KeyMap {
|
||||
|
||||
@XStreamAlias("ActionId")
|
||||
private String a;
|
||||
|
||||
@XStreamAlias("Key")
|
||||
private String b;
|
||||
|
||||
@XStreamOmitField
|
||||
private int c;
|
||||
|
||||
public KeyMap() {
|
||||
this.c = 1;
|
||||
}
|
||||
|
||||
public String a() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
public String b() {
|
||||
return this.b;
|
||||
}
|
||||
|
||||
public int c() {
|
||||
return this.c;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "keyName:" + this.b + " actionId:" + this.a + "keyType:" + this.c;
|
||||
}
|
||||
|
||||
public void a(int i) {
|
||||
this.c = i;
|
||||
}
|
||||
|
||||
public KeyMap(Key key, String str) {
|
||||
this.c = 1;
|
||||
this.b = key.a();
|
||||
this.c = key.b();
|
||||
this.a = str;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user