本文整理了Java中com.google.gwt.user.client.ui.ListBox.getOptionText()
方法的一些代码示例,展示了ListBox.getOptionText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListBox.getOptionText()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.ListBox
类名称:ListBox
方法名:getOptionText
[英]Retrieves the text of an option element. If the text was set by #setOptionText and was wrapped with Unicode bidi formatting characters, also removes those additional formatting characters.
[中]检索选项元素的文本。如果文本由#setOptionText设置,并用Unicode bidi格式字符包装,则还将删除这些附加格式字符。
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets the text associated with the item at the specified index.
*
* @param index the index of the item whose text is to be retrieved
* @return the text associated with the item
* @throws IndexOutOfBoundsException if the index is out of range
*/
public String getItemText(int index) {
checkIndex(index);
return getOptionText(getSelectElement().getOptions().getItem(index));
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-standalone
@Override
public String getOptionText(OptionElement option) {
return super.getOptionText(option);
}
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-library
@Override
public String getOptionText(OptionElement option) {
return super.getOptionText(option);
}
}
代码示例来源:origin: jqm4gwt/jqm4gwt
@Override
public String getOptionText(OptionElement option) {
return super.getOptionText(option);
}
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets the text associated with the item at the specified index.
*
* @param index the index of the item whose text is to be retrieved
* @return the text associated with the item
* @throws IndexOutOfBoundsException if the index is out of range
*/
public String getItemText(int index) {
checkIndex(index);
return getOptionText(getSelectElement().getOptions().getItem(index));
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets the text associated with the item at the specified index.
*
* @param index the index of the item whose text is to be retrieved
* @return the text associated with the item
* @throws IndexOutOfBoundsException if the index is out of range
*/
public String getItemText(int index) {
checkIndex(index);
return getOptionText(getSelectElement().getOptions().getItem(index));
}
内容来源于网络,如有侵权,请联系作者删除!