forked from fanruan/finekit
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.
37 lines
849 B
37 lines
849 B
6 years ago
|
package com.fanruan.api.generic.adapter;
|
||
|
|
||
|
import com.fr.stable.core.PropertyChangeAdapter;
|
||
|
|
||
|
/**
|
||
|
* @author richie
|
||
|
* @version 10.0
|
||
|
* Created by richie on 2019/10/30
|
||
|
* 事件适配器
|
||
|
*/
|
||
|
public class BasePropertyChangeAdapter<T> extends PropertyChangeAdapter<T> {
|
||
|
|
||
|
/**
|
||
|
* 属性改变是执行的方法,根据不同的需求做不同的实现,不带参数
|
||
|
*/
|
||
|
public void propertyChange() {
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 属性改变是执行的方法,根据不同的需求做不同的实现,带一个参数
|
||
|
*
|
||
|
* @param mark 执行具体操作时所携带的参数
|
||
|
*/
|
||
|
public void propertyChange(T mark) {
|
||
|
|
||
|
}
|
||
|
|
||
|
/***
|
||
|
* 属性改变是执行的方法,根据不同的需求做不同的实现,带可变个参数
|
||
|
* @param marks 参数
|
||
|
*/
|
||
|
public void propertyChange(T... marks) {
|
||
|
|
||
|
}
|
||
|
}
|