org.jboss.errai.common.client.dom.TextInput.setReadOnly()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(111)

本文整理了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

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);
}

相关文章