Package org.opencms.workplace.list
Class CmsListDefaultAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListDirectAction
org.opencms.workplace.list.CmsListDefaultAction
- All Implemented Interfaces:
I_CmsListAction,I_CmsListDirectAction,org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
A_CmsListDefaultJsAction,CmsGroupRemoveAction,CmsGroupStateAction,CmsRestoreStateAction
Implementation of a default action in a html list column.
- Since:
- 6.0.0
-
Field Summary
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResturns the id of column to use for the link.Resturns the formatter to use for the link.protected org.opencms.workplace.tools.CmsHtmlIconButtonStyleEnumHelp method to resolve the style of the button.protected StringresolveName(Locale locale) Help method to resolve the name to use.voidsetColumnForLink(CmsListColumnDefinition columnForLink) Sets the id of column to use for the link.Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
buttonHtml, confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveHelpText, resolveOnClic, setColumnForTexts, setItemMethods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWpMethods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Constructor Details
-
CmsListDefaultAction
Default Constructor.- Parameters:
id- unique id
-
-
Method Details
-
getColumnForLink
Resturns the id of column to use for the link.- Returns:
- the id of column to use for the link
-
getColumnFormatter
Resturns the formatter to use for the link.- Returns:
- the formatter to use for the link
-
setColumnForLink
Sets the id of column to use for the link.- Parameters:
columnForLink- the column to use for the link to set
-
resolveButtonStyle
Description copied from class:CmsListDirectActionHelp method to resolve the style of the button.- Overrides:
resolveButtonStylein classCmsListDirectAction- Returns:
- the style of the button
- See Also:
-
resolveName
Description copied from class:CmsListDirectActionHelp method to resolve the name to use.- Overrides:
resolveNamein classCmsListDirectAction- Parameters:
locale- the used locale- Returns:
- the name
- See Also:
-