Class CmsDefaultActionHandler
- java.lang.Object
-
- org.opencms.ui.components.editablegroup.CmsDefaultActionHandler
-
- All Implemented Interfaces:
I_CmsEditableGroupActionHandler
- Direct Known Subclasses:
CmsFavoriteDialog.SaveAfterChangeActionHandler
public class CmsDefaultActionHandler extends java.lang.Object implements I_CmsEditableGroupActionHandler
Default action handler for group buttons.
-
-
Field Summary
Fields Modifier and Type Field Description protected CmsEditableGroup
m_group
The editable group.protected I_CmsEditableGroupRow
m_row
The row.
-
Constructor Summary
Constructors Constructor Description CmsDefaultActionHandler(CmsEditableGroup group, 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.
-
-
-
Field Detail
-
m_group
protected CmsEditableGroup m_group
The editable group.
-
m_row
protected I_CmsEditableGroupRow m_row
The row.
-
-
Constructor Detail
-
CmsDefaultActionHandler
public CmsDefaultActionHandler(CmsEditableGroup group, I_CmsEditableGroupRow row)
Creates a new instance.- Parameters:
group
- the grouprow
- 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
- See Also:
I_CmsEditableGroupActionHandler.onAdd()
-
onDelete
public void onDelete()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'delete' button is clicked.- Specified by:
onDelete
in interfaceI_CmsEditableGroupActionHandler
- See Also:
I_CmsEditableGroupActionHandler.onDelete()
-
onDown
public void onDown()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'down' button is clicked.- Specified by:
onDown
in interfaceI_CmsEditableGroupActionHandler
- See Also:
I_CmsEditableGroupActionHandler.onDown()
-
onEdit
public void onEdit()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'edit' button is clicked.- Specified by:
onEdit
in interfaceI_CmsEditableGroupActionHandler
- See Also:
I_CmsEditableGroupActionHandler.onEdit()
-
onUp
public void onUp()
Description copied from interface:I_CmsEditableGroupActionHandler
Triggered when the 'up' button is clicked.- Specified by:
onUp
in interfaceI_CmsEditableGroupActionHandler
- See Also:
I_CmsEditableGroupActionHandler.onUp()
-
-