|
Replies:
3
-
Last Post:
Aug 22, 2008 1:54 AM
by: while_na
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
Trigger in new javafx
Posted:
Aug 20, 2008 5:34 PM
|
|
|
Hello everybody..  is anyone know how to catch the event when our attribute is changed? i ask here: http://blogs.sun.com/vaibhav/entry/insertion_trigger_in_javafx and he said that we need not to code it explicitly.. but how we can catch the events? somebody know?
Regards..
|
|
|
|
|
|
|
Re: Trigger in new javafx
Posted:
Aug 21, 2008 12:30 AM
in response to: while_na
|
|
|
You can use an "on replace"-trigger for catching the change of an attribute.
|
|
|
|
|
|
|
|
Re: Trigger in new javafx
Posted:
Aug 21, 2008 3:24 AM
in response to: while_na
|
|
|
import java.lang.System;
class A{
public attribute name: String on replace{
System.out.println("Hello {name}!");
};
}
var a = A{ name: "John" }
|
|
|
|
|
|
|
|
Re: Trigger in new javafx
Posted:
Aug 22, 2008 1:54 AM
in response to: while_na
|
|
|
Wow, thanks for your reply guys..  it works now...  regards...
|
|
|
|
|