java.lang.Object
de.agilecoders.wicket.core.util.ListItemCssClassHelper
A helper class for
ListItems that need to
add CSS classes to them. Depending on their parent
configuration the item should add the CssClassNameAppender
or assume it is already added-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonConfigure(Component component, String... cssClasses) The logic that should be executed atComponent.onConfigure()static voidonInitialize(Component component, String... cssClasses) The logic that should be executed atComponent.onInitialize()
-
Constructor Details
-
ListItemCssClassHelper
public ListItemCssClassHelper()
-
-
Method Details
-
onInitialize
The logic that should be executed atComponent.onInitialize()- Parameters:
component- The list itemcssClasses- The CSS classes to add to the component
-
onConfigure
The logic that should be executed atComponent.onConfigure()- Parameters:
component- The list itemcssClasses- The CSS classes to add to the component
-