For applying a widget to a single component, the core widgets (available from laf-widget project) use client properties. If some client property is specified, than the widget is installed on that component. The "installation" process itself consists of wiring the listeners / defaults / subcomponents on the component, so the relevant install* methods just check the presence of some client property on the associated component. |