本文整理了Java中javafx.scene.control.TextArea.clear()
方法的一些代码示例,展示了TextArea.clear()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextArea.clear()
方法的具体详情如下:
包路径:javafx.scene.control.TextArea
类名称:TextArea
方法名:clear
暂无
代码示例来源:origin: com.intuit.karate/karate-core
@Override
public String collect() {
String text = textArea.getText();
textArea.clear();
return text;
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
@Override
public void clear() {
resultTable.getItems().clear();
resultTextarea.clear();
logConfig.clear();
}
代码示例来源:origin: com.intuit.karate/karate-core
public void refresh() {
textArea.clear();
text = "";
resultLabel.setText(idle);
resultLabel.setTextFill(Color.web("#8c8c8c"));
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
@Override
public void clear() {
resultTable.getItems().clear();
errorInfo.clear();
detailForm.getController().clear();
}
代码示例来源:origin: Tristan971/Lyrebird
private void sendMessage() {
LOG.debug("Sending direct message!");
messageContent.setDisable(true);
sendButton.setDisable(true);
newDirectMessageService.sendMessage(
currentPal.getValue(),
messageContent.getText()
).whenCompleteAsync((res, err) -> {
messageContent.clear();
messageContent.setDisable(false);
sendButton.setDisable(false);
}, Platform::runLater);
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
@Override
public void clear() {
adapterInputTable.getItems().clear();
adapterOutputLaunchTable.getItems().clear();
adapterOutputNotifyTable.getItems().clear();
mesageDetail.clear();
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
@Override
public void clear() {
avgChart.getData().clear();
countChart.getData().clear();
quantilChart.getData().clear();
resourceChart.getData().clear();
logText.clear();
}
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
private void showDetails(final WorkflowInstanceResultModel workflowInstanceResultModel) {
if (workflowInstanceResultModel != null) {
errorInfo.setText(workflowInstanceResultModel.errorInfos.get());
if (service == null) {
service = new DetailLoadService(usedFilter, workflowInstanceResultModel, stackDetailPane, detailForm, issueReporter);
}
if (!service.isRunning()) {
service.reset();
service.setWorkflowInstanceResultModel(workflowInstanceResultModel);
service.start();
}
} else {
errorInfo.clear();
}
}
代码示例来源:origin: com.intuit.karate/karate-core
public LogPanel(Logger logger) {
setPadding(App.PADDING_ALL);
textArea = new TextArea();
TextAreaLogAppender.init(logger, textArea);
textArea.setFont(App.getDefaultFont());
Button clearButton = new Button("Clear Log");
clearButton.setOnAction(e -> textArea.clear());
setCenter(textArea);
setBottom(clearButton);
setMargin(clearButton, new Insets(2.0, 0, 0, 0));
}
内容来源于网络,如有侵权,请联系作者删除!