com.google.gwt.user.client.ui.CheckBox.replaceInputElement()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(134)

本文整理了Java中com.google.gwt.user.client.ui.CheckBox.replaceInputElement()方法的一些代码示例,展示了CheckBox.replaceInputElement()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.replaceInputElement()方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.CheckBox
类名称:CheckBox
方法名:replaceInputElement

CheckBox.replaceInputElement介绍

[英]Replace the current input element with a new one. Preserves all state except for the name property, for nasty reasons related to radio button grouping. (See implementation of RadioButton#setName.)
[中]用新的输入元素替换当前的输入元素。保留除name属性之外的所有状态,原因与单选按钮分组有关。(请参见RadioButton#setName的实现。)

代码示例

代码示例来源:origin: com.google.gwt/gwt-servlet

/**
 * Replace the current input element with a new one. Preserves all state
 * except for the name property, for nasty reasons related to radio button
 * grouping. (See implementation of {@link RadioButton#setName}.)
 * 
 * @param elem the new input element
 */
protected void replaceInputElement(Element elem) {
 replaceInputElement(DOM.asOld(elem));
}

代码示例来源:origin: com.vaadin.external.gwt/gwt-user

/**
 * Replace the current input element with a new one. Preserves all state
 * except for the name property, for nasty reasons related to radio button
 * grouping. (See implementation of {@link RadioButton#setName}.)
 * 
 * @param elem the new input element
 */
protected void replaceInputElement(Element elem) {
 replaceInputElement(DOM.asOld(elem));
}

代码示例来源:origin: net.wetheinter/gwt-user

/**
 * Replace the current input element with a new one. Preserves all state
 * except for the name property, for nasty reasons related to radio button
 * grouping. (See implementation of {@link RadioButton#setName}.)
 * 
 * @param elem the new input element
 */
protected void replaceInputElement(Element elem) {
 replaceInputElement(DOM.asOld(elem));
}

相关文章