wangting
2024-09-27 a3e87f78ee262ca9bb7d9b0c997639d5f3295890
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
49
package com.vci.client.ui.swing.components;
 
 
import javax.swing.JScrollBar;
 
import com.vci.client.ui.swing.VCISwingUtil;
 
/**
 * 
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2012</p>
 * <p>Company: VCI</p>
 * @author xchao
 * @time 2012-5-10
 * @version 1.0
 */
public class VCIJScrollBar extends JScrollBar {
 
    /**
     * 
     */
    private static final long serialVersionUID = 2717535443015143104L;
 
    public VCIJScrollBar() {
        this(VERTICAL);
    }
 
    public VCIJScrollBar(int orientation) {
        this(orientation, 0, 10, 0, 100);
    }
 
    public VCIJScrollBar(int orientation, int value, int extent, int min,
            int max) {
        super(orientation, value, extent, min, max);
        customConstructor();
    }
 
    private void customConstructor(){
        setFont(VCISwingUtil.FONT_DEFAULT);
    }
    private Object obj =  null;
    public Object getObj() {
        return obj;
    }
    public void setObj(Object obj) {
        this.obj = obj;
    }
}