zhouping
8 years ago
4 changed files with 24 additions and 4 deletions
@ -0,0 +1,19 @@
|
||||
package com.fr.design.style.background.gradient; |
||||
|
||||
import com.fr.design.style.background.gradient.GradientBar; |
||||
|
||||
/** |
||||
* 这个bar不能拖拽滑动 |
||||
*/ |
||||
public class FixedGradientBar extends GradientBar { |
||||
private static final long serialVersionUID = 2787525421995954889L; |
||||
|
||||
public FixedGradientBar(int minvalue, int maxvalue) { |
||||
super(minvalue, maxvalue); |
||||
} |
||||
|
||||
@Override |
||||
protected void addMouseDragListener() { |
||||
//不添加拖拽事件
|
||||
} |
||||
} |
Loading…
Reference in new issue