Changes between Initial Version and Version 1 of Ticket #13309


Ignore:
Timestamp:
2016-08-10T20:32:02+02:00 (8 years ago)
Author:
simon04
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13309 – Description

    initial v1  
    66
    77To get a property use:
    8 {{
     8{{{
    99#!java
    1010new IntegerProperty("my.property", "123").get()
    11 }}
     11}}}
    1212
    1313To cache the result, use:
    14 {{
     14{{{
    1515#!java
    1616prop = new IntegerProperty("my.property", "123"); // registers 123 as default value
    1717prop.get(); // lazy get and convert to int
    1818prop.get(); // get cached integer object
    19 }}
     19}}}
    2020
    2121I added a new preference listener that listens to changes of one specific key to make this efficient.