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 @seeGUIAttribute
- Since:
- 8.4.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description AttributeTypeFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
format(int type)
Converts an attribute's type into the human readable labelString
format(Object value, com.smartgwt.client.widgets.grid.ListGridRecord record, int rowNum, int colNum)
-
-
-
Method Detail
-
format
public String format(Object value, com.smartgwt.client.widgets.grid.ListGridRecord record, int rowNum, int colNum)
- Specified by:
format
in interfacecom.smartgwt.client.widgets.grid.CellFormatter
-
format
public static String format(int type)
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
-
-