本文整理了Java中org.jboss.errai.common.client.dom.TextInput.getValue()
方法的一些代码示例,展示了TextInput.getValue()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextInput.getValue()
方法的具体详情如下:
包路径:org.jboss.errai.common.client.dom.TextInput
类名称:TextInput
方法名:getValue
暂无
代码示例来源:origin: org.kie.workbench.forms/kie-wb-common-forms-editor-client
@Override
public String getFieldBinding() {
return binding.getValue();
}
}
代码示例来源:origin: org.kie.workbench/kie-wb-common-ala-ui-client
@Override
public String getGroupId() {
return groupId.getValue();
}
代码示例来源:origin: org.kie.workbench/kie-wb-common-ala-ui-client
@Override
public String getFilter() {
return filter.getValue();
}
代码示例来源:origin: org.guvnor/guvnor-ala-openshift-ui-client
@Override
public String getImageStreamsURL() {
return imageStreamsURL.getValue();
}
代码示例来源:origin: org.guvnor/guvnor-ala-openshift-ui-client
@Override
public String getSecretsFileURL() {
return secretsFileURL.getValue();
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-case-mgmt-client
@Override
public String getUserName() {
return userNameInput.getValue();
}
代码示例来源:origin: org.optaplanner/optaplanner-wb-solver-editor-client
@EventHandler("bestScoreInput")
public void handleBestScoreInputChange(ChangeEvent event) {
String value = bestScoreInput.getValue().isEmpty() ? null : bestScoreInput.getValue();
presenter.onBestScoreLimitChange(value);
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-case-mgmt-client
private void submitCommentAddition(){
if (validateForm()) {
presenter.addCaseComment(newCommentTextArea.getValue());
}
}
代码示例来源:origin: org.jbpm/jbpm-wb-executor-service-client
@EventHandler("start")
public void onCreateClick(final @ForEvent("click") MouseEvent event) {
presenter.createJob(jobNameInput.getValue(),
selectedDate,
jobTypeInput.getValue(),
jobRetriesInput.getValue(),
dataProvider.getList());
}
代码示例来源:origin: org.jbpm/jbpm-wb-case-mgmt-client
private void createCaseInstance() {
presenter.createCaseInstance(caseTemplatesList.getValue(),
ownerNameInput.getValue(),
roleAssignmentList.getModel());
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-case-mgmt-client
@Override
public void execute() {
if (validateForm()) {
presenter.updateCaseComment(getValue(), updateCommentText.getValue());
}
}
});
代码示例来源:origin: kiegroup/jbpm-wb
private void createCaseInstance() {
presenter.createCaseInstance(caseTemplatesList.getValue(),
ownerNameInput.getValue(),
roleAssignmentList.getModel());
}
代码示例来源:origin: kiegroup/jbpm-wb
@EventHandler("start")
public void onCreateClick(final @ForEvent("click") MouseEvent event) {
presenter.createJob(jobNameInput.getValue(),
selectedDate,
jobTypeInput.getValue(),
jobRetriesInput.getElement().getValue(),
dataProvider.getList());
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-case-mgmt-client
public boolean validateForm() {
clearErrorMessages();
final boolean newCommentEmpty = isNullOrEmpty(updateCommentText.getValue());
if (newCommentEmpty) {
updateCommentText.focus();
updateCommentTextHelp.setTextContent(translationService.format(CASE_COMMENT_CANT_BE_EMPTY));
updateCommentTextGroup.setValidationState(ValidationState.ERROR);
return false;
}
return true;
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-case-mgmt-client
private boolean validateForm() {
clearErrorMessages();
final boolean newCommentEmpty = isNullOrEmpty(newCommentTextArea.getValue());
if (newCommentEmpty) {
newCommentTextArea.focus();
newCommentTextAreaHelp.setTextContent(translationService.format(CASE_COMMENT_CANT_BE_EMPTY));
newCommentTextAreaGroup.setValidationState(ValidationState.ERROR);
return false;
}
return true;
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@Test
public void testOnChangeNameKeyPressEvent() {
when(nameField.getValue()).thenReturn(NAME);
when(event.getTypeInt()).thenReturn(Event.ONKEYPRESS);
when(event.getKeyCode()).thenReturn(KeyCodes.KEY_A);
tested.onChangeName(event);
verify(presenter, times(1)).onKeyPress(eq(KeyCodes.KEY_A), eq(false), eq(NAME));
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@Test
public void testOnChangeNameKeyDownEvent() {
when(nameField.getValue()).thenReturn(NAME);
when(event.getTypeInt()).thenReturn(Event.ONKEYDOWN);
when(event.getKeyCode()).thenReturn(KeyCodes.KEY_A);
tested.onChangeName(event);
verify(presenter, times(1)).onKeyDown(eq(KeyCodes.KEY_A), eq(NAME));
}
代码示例来源:origin: org.kie.workbench.stunner/kie-wb-common-stunner-widgets
@Test
public void testOnChangeNameChangeEvent() {
when(nameField.getValue()).thenReturn(NAME);
when(event.getTypeInt()).thenReturn(Event.ONCHANGE);
tested.onChangeName(event);
verify(presenter, times(1)).onChangeName(eq(NAME));
}
代码示例来源:origin: org.kie.workbench.widgets/kie-wb-metadata-widget
@EventHandler("linkTextBox")
@SinkNative(Event.ONCHANGE | Event.ONKEYUP | Event.ONBLUR)
public void onLinkTextBoxEvents(Event event) {
if (event.getTypeInt() == Event.ONBLUR) {
presenter.onTextChangeDone();
} else {
presenter.onTextChange(linkTextBox.getValue());
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-examples-screen-client
@EventHandler("tagInput")
private void onTagInputEnterPressed(KeyUpEvent event) {
int keyCode = event.getNativeKeyCode();
if (keyCode == KeyCodes.KEY_ENTER) {
createAndAddTag(true);
} else {
presenter.addPartialTag(tagInput.getValue());
tagInput.focus();
}
}
内容来源于网络,如有侵权,请联系作者删除!