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 SummaryFields Modifier and Type Field Description static CellFormatterINSTANCEAn instance of this class.- 
Fields inherited from class org.onosproject.ui.table.cell.AbstractCellFormatterEMPTY, OX, QUERY, SLASH, SPACE, UNDERSCORE
 
- 
 - 
Method SummaryAll 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.AbstractCellFormatterformat
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final CellFormatter INSTANCE An instance of this class.
 
- 
 - 
Method Detail- 
nonNullFormatpublic 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 class- AbstractCellFormatter
- Parameters:
- value- the value
- Returns:
- the formatted string
 
 
- 
 
-