Package org.opencms.ui.favorites
Class CmsFavoriteDialog.SaveAfterChangeActionHandler
- java.lang.Object
-
- org.opencms.ui.components.editablegroup.CmsDefaultActionHandler
-
- org.opencms.ui.favorites.CmsFavoriteDialog.SaveAfterChangeActionHandler
-
- All Implemented Interfaces:
I_CmsEditableGroupActionHandler
- Enclosing class:
- CmsFavoriteDialog
public class CmsFavoriteDialog.SaveAfterChangeActionHandler extends CmsDefaultActionHandler
Action handler that saves favorites after every change.
-
-
Field Summary
-
Fields inherited from class org.opencms.ui.components.editablegroup.CmsDefaultActionHandler
m_group, m_row
-
-
Constructor Summary
Constructors Constructor Description SaveAfterChangeActionHandler(I_CmsEditableGroupRow row)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAdd()
Triggered when the 'add' button is clicked.void
onDelete()
Triggered when the 'delete' button is clicked.void
onDown()
Triggered when the 'down' button is clicked.void
onEdit()
Triggered when the 'edit' button is clicked.void
onUp()
Triggered when the 'up' button is clicked.
-
-
-
Constructor Detail
-
SaveAfterChangeActionHandler
public SaveAfterChangeActionHandler(I_CmsEditableGroupRow row)
Creates a new instance.- Parameters:
row
- the row
-
-
Method Detail
-
onAdd
public void onAdd()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'add' button is clicked.- Specified by:
onAdd
in interfaceI_CmsEditableGroupActionHandler
- Overrides:
onAdd
in classCmsDefaultActionHandler
- See Also:
CmsDefaultActionHandler.onAdd()
-
onDelete
public void onDelete()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'delete' button is clicked.- Specified by:
onDelete
in interfaceI_CmsEditableGroupActionHandler
- Overrides:
onDelete
in classCmsDefaultActionHandler
- See Also:
CmsDefaultActionHandler.onDelete()
-
onDown
public void onDown()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'down' button is clicked.- Specified by:
onDown
in interfaceI_CmsEditableGroupActionHandler
- Overrides:
onDown
in classCmsDefaultActionHandler
- See Also:
CmsDefaultActionHandler.onDown()
-
onEdit
public void onEdit()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'edit' button is clicked.- Specified by:
onEdit
in interfaceI_CmsEditableGroupActionHandler
- Overrides:
onEdit
in classCmsDefaultActionHandler
- See Also:
CmsDefaultActionHandler.onEdit()
-
onUp
public void onUp()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'up' button is clicked.- Specified by:
onUp
in interfaceI_CmsEditableGroupActionHandler
- Overrides:
onUp
in classCmsDefaultActionHandler
- See Also:
CmsDefaultActionHandler.onUp()
-
-