Package org.opencms.workplace.list
Class CmsListItemSelectionCustomAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListDirectAction
org.opencms.workplace.list.CmsListItemSelectionAction
org.opencms.workplace.list.CmsListItemSelectionCustomAction
- All Implemented Interfaces:
I_CmsListAction
,I_CmsListDirectAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
Implementation of a list item selection action where to define name and the column with the value.
- Since:
- 6.7.2
-
Field Summary
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
-
Constructor Summary
ConstructorDescriptionCmsListItemSelectionCustomAction
(String id, String columnValue) Default Constructor.CmsListItemSelectionCustomAction
(String id, String name, String columnValue) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuttonHtml
(org.opencms.workplace.CmsWorkplace wp) Returns the attributes.Returns the column.Returns the fieldName.void
setAttributes
(String attributes) Sets the attributes.void
Sets the column.void
setFieldName
(String fieldName) Sets the fieldName.Methods inherited from class org.opencms.workplace.list.CmsListItemSelectionAction
getMultiActionId, getSelectedItemId, setSelectedItemId
Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveButtonStyle, resolveHelpText, resolveName, resolveOnClic, 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 Details
-
CmsListItemSelectionCustomAction
Default Constructor.- Parameters:
id
- the unique idcolumnValue
- the name of the column used for the value
-
CmsListItemSelectionCustomAction
Default Constructor.- Parameters:
id
- the unique idname
- the name of the input fieldcolumnValue
- the name of the column used for the value
-
-
Method Details
-
buttonHtml
- Specified by:
buttonHtml
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
buttonHtml
in classCmsListItemSelectionAction
- See Also:
-
I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
-
getAttributes
Returns the attributes.- Returns:
- the attributes
-
getColumn
Returns the column.- Returns:
- the column
-
getFieldName
Returns the fieldName.- Returns:
- the fieldName
-
setAttributes
Sets the attributes.- Parameters:
attributes
- the attributes to set
-
setColumn
Sets the column.- Parameters:
column
- the column to set
-
setFieldName
Sets the fieldName.- Parameters:
fieldName
- the fieldName to set
-