gwt-celltable

Why are there no decent examples of CompositeCell in use within a CellTable?

孤人 提交于 2019-12-01 17:56:31
I have scoured GoogleCode, GWT ShowCase, GWT Developer Notes, and Google Groups for some inkling as to how to get/set values of a CompositeCell. There is no one definitive example that explains how to use it within a CellTable. Let's stare at some code... first an abstract class... public abstract class ToggleableGrid<T> extends CellTable<T> { private static final String DEFAULT_TABLE_WIDTH = "100%"; private static final DisplayMode DEFAULT_MODE = DisplayMode.VIEW; protected void setDefaults() { setWidth(DEFAULT_TABLE_WIDTH); // Set the message to display when the table is empty.