forked from fanruan/design
Browse Source
* commit 'e4efff53fe49cf2e20936e435450d63aa700c970': 配色的渐变色滑块固定 配色的渐变色滑块固定 updatemaster
superman
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