Ultra Light Client Guide and Reference


Enabler general advice

Using enablers is key to a good performing ULC application as enablers reduce traffic.

As of ULC Release 3.1, all ULC enabler parts (i.e. subclasses of UlcEnablerAbstract) can not only be used to enable/disable a widget but can also toggle any boolean property of a widget by specifying the appropriate setter method name.

Enablers now offer the setter property. The setter property holds the name (string of a Boolean setter method. If the setter property is set, the enabler uses the Java Reflection API to dynamically invokes the specified setter method with the current state as a parameter. (The enabler does not send setEnabled(state) to its targets.)

Note:
You normally only specify the setter property on terminal enablers


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]