Package org.opencms.workplace.list
Class CmsListExplorerColumn
- java.lang.Object
-
- org.opencms.workplace.list.CmsListColumnDefinition
-
- org.opencms.workplace.list.CmsListExplorerColumn
-
public class CmsListExplorerColumn extends CmsListColumnDefinition
For adding text style to the columns in the explorer list.- Since:
- 6.0.0
-
-
Field Summary
-
Fields inherited from class org.opencms.workplace.list.CmsListColumnDefinition
ICON_DOWN, ICON_UP
-
-
Constructor Summary
Constructors Constructor Description CmsListExplorerColumn(java.lang.String id)
Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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, boolean isPrintable)
Description copied from class:CmsListColumnDefinition
returns the html for a cell.- Overrides:
htmlCell
in classCmsListColumnDefinition
- Parameters:
item
- the item to render the cell forisPrintable
- if the list is to be printed- Returns:
- html code
- See Also:
CmsListColumnDefinition.htmlCell(org.opencms.workplace.list.CmsListItem, boolean)
-
getExplorerStyleDef
public static java.lang.String getExplorerStyleDef()
Generates the needed style sheet definitions.- Returns:
- html code
-
-