Package org.onosproject.ui.table.cell
Class DefaultCellFormatter
- java.lang.Object
 - 
- org.onosproject.ui.table.cell.AbstractCellFormatter
 - 
- org.onosproject.ui.table.cell.DefaultCellFormatter
 
 
 
- 
- All Implemented Interfaces:
 CellFormatter
public final class DefaultCellFormatter extends AbstractCellFormatter
A default cell formatter. Uses the object's toString() method. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static CellFormatterINSTANCEAn instance of this class.- 
Fields inherited from class org.onosproject.ui.table.cell.AbstractCellFormatter
EMPTY, OX, QUERY, SLASH, SPACE, UNDERSCORE 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnonNullFormat(Object value)Formats the specified value into a string appropriate for displaying in a table cell.- 
Methods inherited from class org.onosproject.ui.table.cell.AbstractCellFormatter
format 
 - 
 
 - 
 
- 
- 
Field Detail
- 
INSTANCE
public static final CellFormatter INSTANCE
An instance of this class. 
 - 
 
- 
Method Detail
- 
nonNullFormat
public String nonNullFormat(Object value)
Description copied from class:AbstractCellFormatterFormats the specified value into a string appropriate for displaying in a table cell. Note that value is guaranteed to be non-null.- Specified by:
 nonNullFormatin classAbstractCellFormatter- Parameters:
 value- the value- Returns:
 - the formatted string
 
 
 - 
 
 -