Module org.apache.wicket.core
Interface ILabelProviderLocator
-
public interface ILabelProviderLocator
This interface can be used to mark some complex component, e.g. a Panel, as capable of providing a reference to aILabelProvider
, e.g a form component. The typical use case could be a user has a components factory of type "label" --> "panel with some fields". Let's say the structure of this panel varies but we still would like to use wicket:for="panel". In this case this panel could implement ILabelProviderLocator to point to TextFiled that label should refer to.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component
getAutoLabelComponent()
-
-
-
Method Detail
-
getAutoLabelComponent
Component getAutoLabelComponent()
- Returns:
- The component the wicket:for attribute is referring to.
-
-