MenuBean.java
960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.lijinji.scan.adapter;
import android.graphics.drawable.Drawable;
import android.view.View;
public class MenuBean {
private Drawable menu;
private String name;
private View.OnClickListener listener;
public MenuBean(Drawable menu, String name) {
this.menu = menu;
this.name = name;
}
public Drawable getMenu() {
return menu;
}
public void setMenu(Drawable menu) {
this.menu = menu;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public View.OnClickListener getListener() {
return listener;
}
public void setListener(View.OnClickListener listener) {
this.listener = listener;
}
@Override
public String toString() {
return "MenuBean{" +
"menu=" + menu +
", name='" + name + '\'' +
'}';
}
}