Class DataGridUtils


  • public class DataGridUtils
    extends Object
    • Field Detail

      • CHAR_SIZE_IN_PIXELS

        public static int CHAR_SIZE_IN_PIXELS
    • Constructor Detail

      • DataGridUtils

        public DataGridUtils()
    • Method Detail

      • trimToColumnWidth

        public static String trimToColumnWidth​(com.google.gwt.user.cellview.client.AbstractCellTable table,
                                               com.google.gwt.user.cellview.client.Column column,
                                               String value)
      • getDistributedColumnWidth

        public static int getDistributedColumnWidth​(com.google.gwt.user.cellview.client.AbstractCellTable table,
                                                    com.google.gwt.user.cellview.client.Column col)
      • getColumnWith

        public static int getColumnWith​(com.google.gwt.user.cellview.client.AbstractCellTable table,
                                        int col)
      • getColumnWith

        public static int getColumnWith​(com.google.gwt.user.cellview.client.AbstractCellTable table,
                                        com.google.gwt.user.cellview.client.Column col)
      • createDivStart

        public static com.google.gwt.safehtml.shared.SafeHtml createDivStart​(String title)
      • createDivStart

        public static com.google.gwt.safehtml.shared.SafeHtml createDivStart​(String title,
                                                                             String defaultValue)
      • createDivEnd

        public static com.google.gwt.safehtml.shared.SafeHtml createDivEnd()