org.opencms.workplace.list
Class CmsListExplorerColumn

java.lang.Object
  extended byorg.opencms.workplace.list.CmsListColumnDefinition
      extended byorg.opencms.workplace.list.CmsListExplorerColumn

public class CmsListExplorerColumn
extends CmsListColumnDefinition

For adding text style to the columns in the explorer list.

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

Field Summary
 
Fields inherited from class org.opencms.workplace.list.CmsListColumnDefinition
ICON_DOWN, ICON_UP
 
Constructor Summary
CmsListExplorerColumn(java.lang.String id)
          Default constructor.
 
Method Summary
static java.lang.String getExplorerStyleDef()
          Generates the needed style sheet definitions.
 java.lang.String htmlCell(CmsListItem item, CmsWorkplace wp, boolean isPrintable)
          returns the html for a cell.
 
Methods inherited from class org.opencms.workplace.list.CmsListColumnDefinition
addDefaultAction, addDirectAction, csvCell, csvHeader, getAlign, getDefaultAction, getDefaultActionIds, getDefaultActions, getDirectAction, getDirectActionIds, getDirectActions, getFormatter, getHelpText, getId, getListItemComparator, getName, getWidth, htmlHeader, isPrintable, isSorteable, isTextWrapping, isVisible, setAlign, setFormatter, setHelpText, setListItemComparator, setName, setPrintable, setSorteable, setTextWrapping, setVisible, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsListExplorerColumn

public CmsListExplorerColumn(java.lang.String id)
Default constructor.

Parameters:
id - the unique id
Method Detail

htmlCell

public java.lang.String htmlCell(CmsListItem item,
                                 CmsWorkplace wp,
                                 boolean isPrintable)
Description copied from class: CmsListColumnDefinition
returns the html for a cell.

Overrides:
htmlCell in class CmsListColumnDefinition
Parameters:
item - the item to render the cell for
wp - the workplace context
isPrintable - if the list is to be printed
Returns:
html code
See Also:
CmsListColumnDefinition.htmlCell(org.opencms.workplace.list.CmsListItem, org.opencms.workplace.CmsWorkplace, boolean)

getExplorerStyleDef

public static java.lang.String getExplorerStyleDef()
Generates the needed style sheet definitions.

Returns:
html code