public static class CmsEditableGroup.AddButtonEmptyHandler extends java.lang.Object implements CmsEditableGroup.I_EmptyHandler
| Constructor and Description |
|---|
AddButtonEmptyHandler(java.lang.String addButtonText)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(CmsEditableGroup group)
Needs to be called initially with the group for which this is used.
|
void |
setEmpty(boolean empty)
Called when the group changes from empty to not empty, or vice versa.
|
public AddButtonEmptyHandler(java.lang.String addButtonText)
addButtonText - the text for the Add buttonpublic void init(CmsEditableGroup group)
CmsEditableGroup.I_EmptyHandlerinit in interface CmsEditableGroup.I_EmptyHandlergroup - the groupCmsEditableGroup.I_EmptyHandler.init(org.opencms.ui.components.editablegroup.CmsEditableGroup)public void setEmpty(boolean empty)
CmsEditableGroup.I_EmptyHandlersetEmpty in interface CmsEditableGroup.I_EmptyHandlerempty - true if the group is emptyCmsEditableGroup.I_EmptyHandler.setEmpty(boolean)