本文整理了Java中org.jboss.errai.common.client.dom.TextInput.setReadOnly()
方法的一些代码示例,展示了TextInput.setReadOnly()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextInput.setReadOnly()
方法的具体详情如下:
包路径:org.jboss.errai.common.client.dom.TextInput
类名称:TextInput
方法名:setReadOnly
暂无
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-bpmn-client
@Override
public void setReadonly(boolean readonly) {
paramInput.setReadOnly(readonly);
}
代码示例来源:origin: kiegroup/jbpm-wb
protected void initDateTimePicker() {
this.dateRangePicker = dateRangePickerProvider.get();
dateRangePicker.getElement().setReadOnly(true);
dateRangePicker.getElement().setAttribute("placeholder",
Constants.INSTANCE.Due_On());
dateRangePicker.getElement().getClassList().add("form-control");
setupDateTimePicker();
dateRangePickerInput.add(ElementWrapperWidget.getWidget(dateRangePicker.getElement()));
}
代码示例来源:origin: org.jbpm/jbpm-wb-human-tasks-client
protected void initDateTimePicker() {
this.dateRangePicker = dateRangePickerProvider.get();
dateRangePicker.getElement().setReadOnly(true);
dateRangePicker.getElement().setAttribute("placeholder",
Constants.INSTANCE.Due_On());
dateRangePicker.getElement().getClassList().add("form-control");
setupDateTimePicker();
dateRangePickerInput.add(ElementWrapperWidget.getWidget(dateRangePicker.getElement()));
}
代码示例来源:origin: kiegroup/jbpm-wb
final Consumer<ActiveFilterItem<DateRange>> callback) {
final DateRangePicker dateRangePicker = dateRangePickerProvider.get();
dateRangePicker.getElement().setReadOnly(true);
dateRangePicker.getElement().setAttribute("placeholder",
placeholder);
代码示例来源:origin: org.jbpm/jbpm-wb-executor-service-client
protected void initDateTimePicker() {
this.dateRangePicker = dateRangePickerProvider.get();
dateRangePicker.getElement().setReadOnly(true);
dateRangePicker.getElement().setAttribute("placeholder",
Constants.INSTANCE.Due_On());
dateRangePicker.getElement().getClassList().add("form-control");
final Div div = (Div) getDocument().createElement("div");
div.setAttribute("data-filter",
"Date");
div.getClassList().add("input-group");
div.getClassList().add("filter-control");
div.appendChild(dateRangePicker.getElement());
dateFiltersInput.appendChild(div);
dateFiltersInput.setHidden(true);
}
代码示例来源:origin: kiegroup/jbpm-wb
protected void initDateTimePicker() {
this.dateRangePicker = dateRangePickerProvider.get();
dateRangePicker.getElement().setReadOnly(true);
dateRangePicker.getElement().setAttribute("placeholder",
Constants.INSTANCE.Due_On());
dateRangePicker.getElement().getClassList().add("form-control");
final Div div = (Div) getDocument().createElement("div");
div.setAttribute("data-filter",
"Date");
div.getClassList().add("input-group");
div.getClassList().add("filter-control");
div.appendChild(dateRangePicker.getElement());
dateFiltersInput.appendChild(div);
dateFiltersInput.setHidden(true);
}
内容来源于网络,如有侵权,请联系作者删除!