简体   繁体   English

Java相当于Delphi的DBCtrlGrid?

[英]Java equivalent to Delphi's DBCtrlGrid?

Is there a Java Swing component equivalent to Delphi's TDBCtrlGrid ? 是否存在与Delphi的TDBCtrlGrid等效的Java Swing组件? Or can the same effect be achieved programmatically and if so, how? 或者可以通过编程方式实现相同的效果,如果是,如何实现?

TDBCtrlGrid is a database enabled grid where each cell can be populated by a number of data-aware components. TDBCtrlGrid是一个启用数据库的网格,其中每个单元可以由许多数据感知组件填充。 The grid shows one cell for each row in the query bound to the grid, and the components are bound to the values of the fields in that row. 网格显示绑定到网格的查询中每一行的一个单元格,组件绑定到该行中字段的值。 The lower half in the image shown below (picked at random from the internet) demonstrates a TDBCtrlGrid in the lower half of the form. 下图所示图像的下半部分(从互联网上随机选取)演示了TDBCtrlGrid下半部分的TDBCtrlGrid

The various GUI kits for Java use a very different way of binding to data than the Delphi TDataSet/TDataSource/TDataLink/Data-Aware-Components path. 用于Java的各种GUI工具包使用与Delphi TDataSet / TDataSource / TDataLink / Data-Aware-Components路径完全不同的数据绑定方式。

So: no, you won't find this in the Java world. 所以:不,你不会在Java世界中找到它。
But you might find similar things when you search for Java UI data binding . 但是,当您搜索Java UI数据绑定时,您可能会发现类似的事情。

--jeroen --jeroen

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM