[英]Java SWT DateTime - Get Selection?
I've got a DateTime (SWT.TIME) and want to know if the hours or minutes or seconds are selected. 我有一个DateTime(SWT.TIME),想知道是否选择了小时,分钟或秒。 I would like to get this information because I want that the User can scroll the mouse wheel in order to change the selected values accordingly.
我想获取此信息,因为我希望用户可以滚动鼠标滚轮以相应地更改所选值。
Unfortunately I couldn't find any way to get the selected element of the DateTime Control. 不幸的是,我找不到任何方法来获取DateTime控件的选定元素。 Does anybody have an idea?
有人有主意吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.