Class AttributeTypeFormatter
java.lang.Object
com.logicaldoc.gui.frontend.client.metadata.template.AttributeTypeFormatter
- All Implemented Interfaces:
com.smartgwt.client.widgets.grid.CellFormatter
public class AttributeTypeFormatter
extends Object
implements com.smartgwt.client.widgets.grid.CellFormatter
A formatter used to format a grid cell that contains an attribute's type @see
GUIAttribute
- Since:
- 8.4.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AttributeTypeFormatter
public AttributeTypeFormatter()
-
-
Method Details
-
format
public String format(Object value, com.smartgwt.client.widgets.grid.ListGridRecord rec, int rowNum, int colNum) - Specified by:
format
in interfacecom.smartgwt.client.widgets.grid.CellFormatter
-
format
Converts an attribute's type into the human readable label- Parameters:
type
- the attribute's type- Returns:
- the table indicating the type using the current locale
-