Package org.opencms.workplace.list
Class A_CmsListIndependentJsAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListIndependentAction
org.opencms.workplace.list.A_CmsListIndependentJsAction
- All Implemented Interfaces:
- I_CmsListAction,- org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
- CmsListCsvExportIAction,- CmsListPrintIAction
Default implementation of a independent action for a html list column that can execute java script code.
- Since:
- 6.0.0
- 
Field SummaryFields inherited from class org.opencms.workplace.list.CmsListIndependentActionACTION_EXPLORER_SWITCH_IDFields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButtonEMPTY_MESSAGE, m_id
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract StringjsCode(org.opencms.workplace.CmsWorkplace wp) The js code to execute.protected StringresolveOnClic(org.opencms.workplace.CmsWorkplace wp) Help method to resolve the on clic text to use.Methods inherited from class org.opencms.workplace.list.CmsListIndependentActionbuttonHtml, getDefaultExplorerSwitchActionMethods inherited from class org.opencms.workplace.list.A_CmsListActionbuttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWpMethods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButtondefaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButtongetHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
- 
Constructor Details- 
A_CmsListIndependentJsActionDefault Constructor.- Parameters:
- id- unique id
 
 
- 
- 
Method Details- 
resolveOnClicDescription copied from class:CmsListIndependentActionHelp method to resolve the on clic text to use.- Overrides:
- resolveOnClicin class- CmsListIndependentAction
- Parameters:
- wp- the workplace context
- Returns:
- the on clic text
- See Also:
 
- 
jsCodeThe js code to execute.- Parameters:
- wp- the workplace context
- Returns:
- js code to execute
 
 
-