当前位置: 技术问答>java相关
这个构造函数什么意思?
来源: 互联网 发布时间:2015-10-28
本文导语: Scrollbar(Scrollbar.HORIZONTAL,0,1,0,256); 0,1,0,256 这几个数字都表示什么,什么意思? | public Scrollbar(int orientation, int value, int visible, ...
Scrollbar(Scrollbar.HORIZONTAL,0,1,0,256);
0,1,0,256 这几个数字都表示什么,什么意思?
|
public Scrollbar(int orientation,
int value,
int visible,
int minimum,
int maximum)
orientation - indicates the orientation of the scroll bar.
value - the initial value of the scroll bar
visible - the size of the scroll bar's bubble, representing the visible portion.
minimum - the minimum value of the scroll bar
maximum - the maximum value of the scroll bar
int value,
int visible,
int minimum,
int maximum)
orientation - indicates the orientation of the scroll bar.
value - the initial value of the scroll bar
visible - the size of the scroll bar's bubble, representing the visible portion.
minimum - the minimum value of the scroll bar
maximum - the maximum value of the scroll bar