[英]Lombok javafx properties
I'm trying to use Lombok in combination with JavaFX properties: 我正在尝试将Lombok与JavaFX属性结合使用:
@Data
public class Country {
private SimpleIntegerProperty id = new SimpleIntegerProperty();
private SimpleStringProperty name = new SimpleStringProperty();
}
This generates getters and setters for the Properties itself: 这会为Properties本身生成getter和setter:
However, I would expect(/like) this in JavaFX: 但是,我希望在JavaFX中(/喜欢)这个:
Is this supported in Lombok? 龙目岛是否支持此功能? I don't find much information about Lombok in combination with JavaFX (or I must be searching wrong).
我没有找到关于龙目岛与JavaFX结合的更多信息(或者我必须搜索错误)。 I'm not really familiar with Lombok yet, so apologies if this is a basic question.
我还不熟悉龙目岛,如果这是一个基本问题,请道歉。
There's no support, see issue 521 . 没有支持,见问题521 。 I'm afraid, there's nothing beside the issue and an discussion .
我担心,这个问题和讨论之外什么也没有。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.