org.opencms.workplace.list
Class CmsListRadioMultiAction

java.lang.Object
  extended byorg.opencms.workplace.tools.A_CmsHtmlIconButton
      extended byorg.opencms.workplace.list.A_CmsListAction
          extended byorg.opencms.workplace.list.CmsListMultiAction
              extended byorg.opencms.workplace.list.CmsListRadioMultiAction
All Implemented Interfaces:
I_CmsHtmlIconButton, I_CmsListAction

public class CmsListRadioMultiAction
extends CmsListMultiAction

Default implementation of a list radio multi action.

Since:
6.0.0
Version:
$Revision: 1.4 $
Author:
Michael Moossen

Field Summary
 
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
 
Constructor Summary
CmsListRadioMultiAction(java.lang.String id, java.util.List relatedActionIds)
          Default Constructor.
 
Method Summary
 java.lang.String buttonHtml(CmsWorkplace wp)
          Returns the necessary html code.
 int getSelections()
          Returns the number of expected selections.
 
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
 

Constructor Detail

CmsListRadioMultiAction

public CmsListRadioMultiAction(java.lang.String id,
                               java.util.List relatedActionIds)
Default Constructor.

Parameters:
id - the unique id
relatedActionIds - the ids of the related item selection actions
Method Detail

buttonHtml

public java.lang.String buttonHtml(CmsWorkplace wp)
Description copied from interface: I_CmsHtmlIconButton
Returns the necessary html code.

Specified by:
buttonHtml in interface I_CmsHtmlIconButton
Overrides:
buttonHtml in class CmsListMultiAction
See Also:
I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)

getSelections

public int getSelections()
Returns the number of expected selections.

Returns:
the number of expected selections