org.opencms.workplace.list
Class CmsListDefaultAction

java.lang.Object
  extended byorg.opencms.workplace.tools.A_CmsHtmlIconButton
      extended byorg.opencms.workplace.list.A_CmsListAction
          extended byorg.opencms.workplace.list.CmsListDirectAction
              extended byorg.opencms.workplace.list.CmsListDefaultAction
All Implemented Interfaces:
I_CmsHtmlIconButton, I_CmsListAction, I_CmsListDirectAction

public class CmsListDefaultAction
extends CmsListDirectAction

Implementation of a default action in a html list column.

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

Field Summary
 
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
 
Constructor Summary
CmsListDefaultAction(String id)
          Default Constructor.
 
Method Summary
 String buttonHtml(CmsWorkplace wp)
          Returns the necessary html code.
 void setColumn(String column)
          The id of the column to use.
 
Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
confirmationTextHtml, getColumn, getItem, helpTextHtml, setItem
 
Methods inherited from class org.opencms.workplace.list.A_CmsListAction
defaultConfirmationHtml, getConfirmationMessage, getListId, setConfirmationMessage, setListId
 
Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, setEnabled, setHelpText, setIconPath, setName
 
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.list.I_CmsListAction
getConfirmationMessage, getListId, setConfirmationMessage, setListId
 
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isEnabled, setEnabled, setHelpText, setIconPath, setName
 

Constructor Detail

CmsListDefaultAction

public CmsListDefaultAction(String id)
Default Constructor.

Parameters:
id - unique id
Method Detail

buttonHtml

public 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 CmsListDirectAction
See Also:
CmsListDirectAction.buttonHtml(CmsWorkplace)

setColumn

public void setColumn(String column)
The id of the column to use.

Specified by:
setColumn in interface I_CmsListDirectAction
Overrides:
setColumn in class CmsListDirectAction
Parameters:
column - the column id
See Also:
I_CmsListDirectAction.setColumn(java.lang.String)