Package org.opencms.workplace.list
Class A_CmsListDefaultJsAction
- 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
-
- org.opencms.workplace.list.A_CmsListDefaultJsAction
-
- All Implemented Interfaces:
I_CmsListAction
,I_CmsListDirectAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
CmsListOpenResourceAction
public abstract class A_CmsListDefaultJsAction extends CmsListDefaultAction
Implementation of a default action in a html list column that can execute java script code.- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description A_CmsListDefaultJsAction(java.lang.String id)
Default Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
jsCode()
The js code to execute.protected java.lang.String
resolveOnClic(java.util.Locale locale)
Help method to resolve the on clic text to use.-
Methods inherited from class org.opencms.workplace.list.CmsListDefaultAction
getColumnForLink, getColumnFormatter, resolveButtonStyle, resolveName, setColumnForLink
-
Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
buttonHtml, confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveHelpText, setColumnForTexts, setItem
-
Methods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Methods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
-
-
-
Constructor Detail
-
A_CmsListDefaultJsAction
public A_CmsListDefaultJsAction(java.lang.String id)
Default Constructor.- Parameters:
id
- unique id
-
-
Method Detail
-
resolveOnClic
protected java.lang.String resolveOnClic(java.util.Locale locale)
Description copied from class:CmsListDirectAction
Help method to resolve the on clic text to use.- Overrides:
resolveOnClic
in classCmsListDirectAction
- Parameters:
locale
- the used locale- Returns:
- the on clic text
- See Also:
CmsListDirectAction.resolveOnClic(java.util.Locale)
-
jsCode
public abstract java.lang.String jsCode()
The js code to execute.- Returns:
- js code to execute
-
-