org.opencms.workplace.list
Class CmsListIndependentAction

java.lang.Object
  extended byorg.opencms.workplace.tools.A_CmsHtmlIconButton
      extended byorg.opencms.workplace.list.A_CmsListAction
          extended byorg.opencms.workplace.list.CmsListIndependentAction
All Implemented Interfaces:
I_CmsHtmlIconButton, I_CmsListAction
Direct Known Subclasses:
A_CmsListSearchAction

public class CmsListIndependentAction
extends A_CmsListAction

Default implementation of a independent action for a html list.

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

Field Summary
static String LIST_ACTION_PRINT
          list action id constant.
 
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id
 
Constructor Summary
CmsListIndependentAction(String id)
          Default Constructor.
 
Method Summary
 String buttonHtml(CmsWorkplace wp)
          Returns the necessary html code.
static CmsListIndependentAction getDefaultPrintListAction()
          Creates a new list print action.
 
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.tools.I_CmsHtmlIconButton
getHelpText, getIconPath, getId, getName, isEnabled, setEnabled, setHelpText, setIconPath, setName
 

Field Detail

LIST_ACTION_PRINT

public static final String LIST_ACTION_PRINT
list action id constant.

See Also:
Constant Field Values
Constructor Detail

CmsListIndependentAction

public CmsListIndependentAction(String id)
Default Constructor.

Parameters:
id - unique id
Method Detail

getDefaultPrintListAction

public static final CmsListIndependentAction getDefaultPrintListAction()
Creates a new list print action.

Returns:
a new list print action

buttonHtml

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

Parameters:
wp - the jsp page to write the code to
Returns:
html code
See Also:
I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)