本文整理了Java中javafx.event.Event.getSource()
方法的一些代码示例,展示了Event.getSource()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getSource()
方法的具体详情如下:
包路径:javafx.event.Event
类名称:Event
方法名:getSource
暂无
代码示例来源:origin: com.gluonhq/connect
@Override
public GluonObservable getSource() {
return (GluonObservable) super.getSource();
}
}
代码示例来源:origin: org.copper-engine/copper-monitoring-client
@Override
public void handle(Event event) {
if (((Tab)event.getSource()).isSelected()){
form.show();
}
}
});
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
controller = (FullTableViewController) actionRequest.getController();
Event event = (Event) actionRequest.getProperty("sourceEvent");
Node source = (Node) event.getSource();
OperationData roleB = (OperationData) actionRequest.getProperty("sourceData");
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
protected void processDeletion(IActionRequest actionRequest, Optional<IActionResult> previousActionResult) {
OperationData roleB = (OperationData) actionRequest.getProperty("sourceData");
Event event = (Event) actionRequest.getProperty("sourceEvent");
Node source = (Node) event.getSource();
AbstractTableStructure table = (AbstractTableStructure) controller.processedElement();
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
public void showTaskList(Event e) {
final PopOver filterPopOver = new PopOver();
filterPopOver.setDetachable(false);
filterPopOver.setArrowLocation(PopOver.ArrowLocation.TOP_RIGHT);
filterPopOver.setPrefHeight(150);
filterPopOver.setPrefWidth(200);
filterPopOver.show((Node) e.getSource());
filterPopOver.setContentNode(VLExecutorService.instance());
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxplatform-components
protected void processDeletion(IActionRequest actionRequest, Optional<IActionResult> previousActionResult) {
OperationData roleB = (OperationData) actionRequest.getProperty("sourceData");
Event event = (Event) actionRequest.getProperty("sourceEvent");
Node source = (Node) event.getSource();
AbstractTableStructure table = (AbstractTableStructure) controller.processedElement();
内容来源于网络,如有侵权,请联系作者删除!