📄 defaultselectoption.java
字号:
package jsp.tags.dapact.lookup;
/**
* Title: Data Aware Processing And Control Tags
* Description: Tag library for the processing and controlling the input and output of data.
* Copyright: LGPL (http://www.gnu.org/copyleft/lesser.html)
* Compile Date: @compile_date@
* @author Allen M Servedio
* @amp_sign@version @VERSION@
*/
/**
* Default implementation of the select option interface - doesn't do anything but
* save the value and text.
*/
public class DefaultSelectOption implements BaseSelectOptionInf
{
/**
* Constructor - sets the value and text of the option.
*
* @param value the value of the option.
* @param text the text (display) value of the option.
*/
public DefaultSelectOption(String value, String text)
{
this.value = value;
this.text = text;
}
/**
* Retrieves the text (display) value of the option.
*/
public String getText()
{
return text;
}
/**
* Retrieves the value of the option.
*/
public String getValue()
{
return value;
}
private String value;
private String text;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -