English 中文(简体)
Java 亚非法律协商组织拥有一些东西,如Swaing s TransferHandler?
原标题:Does JavaFX have something like Swing s TransferHandler?
  • 时间:2012-04-11 02:10:39
  •  标签:
  • javafx-2

我试图实现的是,在我把《刑法》传入一个超文本处理器之前,“秘密”编辑了某些html。 谁能想像 Java2那样做什么?

最佳回答

通常,你可以做的是增加<条码>。 正在改变的财产(例如:TextAreas<>TextProperty)中,对变更聆听器的新价值进行了检查,并对你想要的东西作了修改。 这一战略与<密码>TransferHandler<>/code>并不完全相同,但(我认为)在某些地方,你本可以在Swaing中使用<>TransferHandler。 遗憾的是,就<代码>HtmlEditor而言,你无法使用这种战略,因为<代码>HtmlEditor案文没有作为可听懂的财产加以执行(不过,有人要求将它作为未来贾瓦解释放的财产:)。

http://docs.oracle.com/javafx/2.0/drag_drop/jfxpub-drag_drop.htm Java drag和提交文件, Java 确实支持TransferMode,可就接收一项拖拉活动以开展不同行动(例如复制、链接或移动数据)进行查询。

另外,如果你看从拖拉和跌落文件中找到第6个例子,那么你就可以确定一个。 可在<代码>DragEvent上拦截的节点活动器,并在该时采取适当行动(例如将<代码>htmlText 列入经修改的数据版本)。 如果你难以超越<代码>HtmlEditor/code>的缺省代码<>功能,那么你可以安排

问题回答

暂无回答




相关问题
Tutorial/Blog for GroovyFx

I need links for blog, tutorials that covers GroovyFx. I have tried searching it on google, i m not getting any useful tutorials. I need a full coverage of GroovyFx from top to bottom! Thanks in ...

Adding JFXPanel to a JFrame. Why is it not working?

I am trying to add a JFXPanel to my JFrame. I am using Netbeans and Netbeans Swing GUI Builder. When I run it I do not get any errors and the JFrame is created successfully but the JFXPanel with the ...

what is yaml file in java and use of it?

i saw some site like this http://jyaml.sourceforge.net/ for yaml in java. but i can t to use of that. how can i use form yaml files? if is it possible to use it in javafx 2.0? thanks.

javaFX 2.0 how to select files aka FileChooser

I m trying out the new JavaFx 2.0 beta release but cannot find anyway of selecting files using a dialog box like JfileChooser. Any ideas on how to do this? Thanks

How to wrap a swing component in a javaFX 2.0 application

The ability to wrap a swing component in a javaFX application seems to have vanished from javaFX 2: javafx.ext.swing.SwingComponent is not there any more in javaFX 2 beta API. Is there still a ...

Does JavaFX 2.0 run on Google App Engine?

As I just read about the release of JavaFX 2.0 beta and the NetBeans 7.0 plugin in the article JavaFX: The Resurrection (Java FX 2.0 Released), is there information available if it runs on Google App ...

热门标签