Class TableCellUtil


  • public class TableCellUtil
    extends java.lang.Object
    Utility functions for table cells.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INTERN_PREFIX  
      static java.lang.String USER_PREFIX  
    • Method Detail

      • createTableCell

        public static ISerializableComparable createTableCell​(java.lang.String token)
        Returns an appropriate table cell for the specified string token. If it can be parsed as an integer number a IntegerTableCell is returned. If it can be parsed as a floating point number a DoubleTableCell is returned. Otherwise a StringTableCell is returned.
      • getPropertyTypeCode

        public static java.lang.String getPropertyTypeCode​(PropertyType propertyType)
        Returns the code of specified property type with prefix INTERN- or USER- depending on whether it is internal name space or not.
      • isEditiableProperty

        public static boolean isEditiableProperty​(PropertyType propertyType)