org.opencms.workplace.commons
Class CmsListResourceLinkRelationExplorerColumn

java.lang.Object
  extended byorg.opencms.workplace.list.CmsListColumnDefinition
      extended byorg.opencms.workplace.commons.CmsListResourceLinkRelationExplorerColumn

public class CmsListResourceLinkRelationExplorerColumn
extends CmsListColumnDefinition

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

Since:
6.9.1
Version:
$Revision: 1.4 $
Author:
Raphael Schnuck

Field Summary
 
Fields inherited from class org.opencms.workplace.list.CmsListColumnDefinition
ICON_DOWN, ICON_UP
 
Constructor Summary
CmsListResourceLinkRelationExplorerColumn(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, 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, getWp, htmlHeader, isPrintable, isSorteable, isTextWrapping, isVisible, removeDefaultAction, removeDirectAction, setAlign, setFormatter, setHelpText, setListItemComparator, setName, setPrintable, setSorteable, setTextWrapping, setVisible, setWidth, setWp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsListResourceLinkRelationExplorerColumn

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

Parameters:
id - the unique id
Method Detail

getExplorerStyleDef

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

Returns:
html code

htmlCell

public java.lang.String htmlCell(CmsListItem item,
                                 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
isPrintable - if the list is to be printed
Returns:
html code
See Also:
CmsListColumnDefinition.htmlCell(org.opencms.workplace.list.CmsListItem, boolean)