Class SelectFieldItem
public class SelectFieldItem
extends Object
代表一个复选框列表/单选按钮列表项。
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SelectFieldItem
public SelectFieldItem()
生成一个用于复选框列表或单选按钮列表的项。
-
SelectFieldItem
生成一个用于复选框列表或单选按钮列表的项。
- Parameters:
text
- 该项的文本。
value
- 该项的值。
-
Method Details
-
-
setText
public void setText(String text)
设置项目的文本。
- Parameters:
text
- 该项的文本。
-
getValue
获取项的值。
- Returns:
- 该项的值。
-
setValue
public void setValue(Object value)
设置项目的值。
- Parameters:
value
- 该项的值。