Changes between Initial Version and Version 1 of Ticket #13309
- Timestamp:
- 2016-08-10T20:32:02+02:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13309 – Description
initial v1 6 6 7 7 To get a property use: 8 {{ 8 {{{ 9 9 #!java 10 10 new IntegerProperty("my.property", "123").get() 11 }} 11 }}} 12 12 13 13 To cache the result, use: 14 {{ 14 {{{ 15 15 #!java 16 16 prop = new IntegerProperty("my.property", "123"); // registers 123 as default value 17 17 prop.get(); // lazy get and convert to int 18 18 prop.get(); // get cached integer object 19 }} 19 }}} 20 20 21 21 I added a new preference listener that listens to changes of one specific key to make this efficient.