|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4SortedList_Intf
Interface for E4SortedList data entry elements.
E4SortedList| Field Summary | |
|---|---|
static int |
PRIMARY_SORT_BOTTOM
|
static int |
PRIMARY_SORT_MIDDLE
|
static int |
PRIMARY_SORT_TOP
|
| Method Summary | |
|---|---|
boolean |
canSelect()
In the case, that an action method is defined for the header, check if this element can be selected. |
int |
compareTo(E4SortedList_Intf element,
int column)
Compare a particular column with another element. |
E4Color |
getBgColor()
Get the background color for this row. |
java.lang.String |
getData4Parameter(int column)
Get the data to be used as parameter for the specified column. |
int |
getPrimarySort()
Get the primary sort value. |
java.lang.String |
toHtml(int column,
E4SortedListColumn coldef,
E4ServletImplementation_Intf servlet)
Get the data formatted for display for the specified column. |
| Field Detail |
|---|
static final int PRIMARY_SORT_TOP
static final int PRIMARY_SORT_MIDDLE
static final int PRIMARY_SORT_BOTTOM
| Method Detail |
|---|
int compareTo(E4SortedList_Intf element,
int column)
element - the second element to compare withcolumn - column count starts at 0, and is 1 below the number specified on the Constructor
java.lang.String toHtml(int column,
E4SortedListColumn coldef,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
column - the specified column, starting with 0
java.lang.Exceptionjava.lang.String getData4Parameter(int column)
column - the specified column, starting with 0
E4Color getBgColor()
int getPrimarySort()
PRIMARY_SORT_TOP) or at the bottom
of the table (PRIMARY_SORT_BOTTOM. All other rows must have a value
of PRIMARY_SORT_MIDDLE. Sorting also works within the groupings.
PRIMARY_SORT_TOP,
PRIMARY_SORT_MIDDLE,
PRIMARY_SORT_BOTTOMboolean canSelect()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||