You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
842 B
38 lines
842 B
package com.example.drink_order_system;
|
|
|
|
public class LeftBean {
|
|
//记录右边列表置顶项所在的item的位置
|
|
private int rightPosition;
|
|
private String title;
|
|
//设置是否选中,改变背景色
|
|
private boolean isSelect;
|
|
|
|
public LeftBean(int rightPosition, String title) {
|
|
this.rightPosition = rightPosition;
|
|
this.title = title;
|
|
}
|
|
|
|
public boolean isSelect() {
|
|
return isSelect;
|
|
}
|
|
|
|
public void setSelect(boolean select) {
|
|
isSelect = select;
|
|
}
|
|
|
|
public int getRightPosition() {
|
|
return rightPosition;
|
|
}
|
|
|
|
public void setRightPosition(int rightPosition) {
|
|
this.rightPosition = rightPosition;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
} |