Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This change will some existing code as all calls to setClicked that passed a IClicked2 instance now need to use setClicked2.

Private and protected properties can be used in binding/metadata

When binding was used to connect properties to controls it required that the property bound to was public. But in many cases the binding and the properties are part of one (set of) classes, with no need to have those properties propagated to the outside world.

DomUI now detects private properties in its metamodel, and allows getting/setting the value of these properties through the metamodel. Some restrictions apply, however:

  • Private properties are only detected in the actual class, not in parent classes.
  • Odd definitions, like private setter and public getter, might have undesired results. The default for DomUI is to treat the private method as non-existing, so in this case it would present the property as read-only even though a private setter exists.

Changed/new functionality

...