litesoft
@ 948
litesoft / trunk / GWT_Sandbox / FormEngine / src / com / temp / client / foundation / widget / table / DataRowField.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
package com.temp.client.foundation.widget.table; import com.google.gwt.dom.client.Style.*; public interface DataRowField { /** * Name of the Field. */ String name(); /** * Label for Column Header (null or empty for none), maximum two words (space separated) which are split into two lines. */ String label(); /** * Should this Column support user controlled sorting */ boolean isSortable(); /** * Is this Column ONLY contain Numeric data (for alignment) */ boolean isNumeric(); /** * The Width in Units for this Column (<= 0 means NOT specified) */ int getWidth(); /** * GWT's Unit to indicate how to interpret the width. * <p/> * The normal options are usually PX, EM, or PCT (percent), * (if width is acceptable, then null assumes 'PX'). */ Unit getWidthUnit(); } |