Monday, October 14, 2013

Property Of The Client

One of the really useful features in Codename One that many developers are just unaware of is the client properties trick. Every component in Codename One has a Map (Hashtable) associated with it containing arbitrary objects you can store in association with that component.

To use this feature you can just invoke putClientProperty(propertyName, value); then getClientProperty(propertyName) to extract the property.

read more...

0 comments:

Post a Comment