Custom Properties

Custom properties can also be defined for groups. This is generally only needed when developing or using custom group implementations. Custom properties are defined using a simple map style syntax. To define the client property foo for example, you'd use the following syntax: group!my-group@properties[foo]. You can acces properties using the getProperty(String) methods.

Custom Property Examples

   group!recentFileList@face.text=Recent Files
   # set a custom property
   group!recentFileList@properties[clearText]=Clear List

   // now get the property at runtime..
   String clearMenuItemText = group.getProperty("clearText");