Subversion Repository Public Repository

litesoft

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.Unit;

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.
     *
     * The normal options are usually PX, EM, or PCT (percent),
     * (if width is acceptable, then null assumes 'PX').
     */
    Unit getWidthUnit();
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/table/DataRowField.java

Diff revisions: vs.
Revision Author Commited Message
626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000