|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.list.E4SortedListItem
public class E4SortedListItem
A generic implementation of the E4SortedList_Intf, used for representing
data in E4SortedList objects.
E4SortedList,
E4SortedListElement| Field Summary | |
|---|---|
static E4LabelSys |
BOOLEAN_NO
|
static E4LabelSys |
BOOLEAN_YES
|
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Fields inherited from interface e4s.html.list.E4SortedList_Intf |
|---|
PRIMARY_SORT_BOTTOM, PRIMARY_SORT_MIDDLE, PRIMARY_SORT_TOP |
| Constructor Summary | |
|---|---|
E4SortedListItem()
|
|
E4SortedListItem(int defaultsize)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
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. |
void |
set(int column,
B value)
Set the value of a column. |
void |
set(int column,
boolean value)
Set the value of a column. |
void |
set(int column,
java.util.Date value)
Set the value of a column. |
void |
set(int column,
E4Long value)
Set the value of a column. |
void |
set(int column,
E4String value)
Set the value of a column. |
void |
set(int column,
float value)
Set the value of a column. |
void |
set(int column,
FONT value)
Set the value of a column. |
void |
set(int column,
I value)
Set the value of a column. |
void |
set(int column,
IMG value)
Set the value of a column. |
void |
set(int column,
int value)
Set the value of a column. |
void |
set(int column,
Language dest_lang,
E4Label_Intf value)
Set the value of a column. |
void |
set(int column,
long value)
Set the value of a column. |
void |
set(int column,
java.lang.String value)
Set the value of a column. |
void |
set(int column,
TABLE value)
Set the value of a column. |
void |
setBgColor(E4Color color)
Set the background color for this row. |
void |
setPrimarySort(int primarysort)
Set the primary sort value. |
java.lang.String |
toHtml(int column,
E4SortedListColumn coldef,
E4ServletImplementation_Intf servlet)
Get the data for the specified column. |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static E4LabelSys BOOLEAN_YES
public static E4LabelSys BOOLEAN_NO
| Constructor Detail |
|---|
public E4SortedListItem()
public E4SortedListItem(int defaultsize)
| Method Detail |
|---|
public void setPrimarySort(int primarysort)
E4SortedList_Intf.PRIMARY_SORT_TOP) or at the bottom
of the table (E4SortedList_Intf.PRIMARY_SORT_BOTTOM. All other rows must have a value
of E4SortedList_Intf.PRIMARY_SORT_MIDDLE. Sorting also works within the groupings.
It is recommended to use one of the constant definitions, but feel free to use
your own values. The default is E4SortedList_Intf.PRIMARY_SORT_MIDDLE, and if you choose
your own values you should put this into consideration and assign always a value.
primarysort - the value of the primary sort.getPrimarySort(),
E4SortedList_Intf.PRIMARY_SORT_TOP,
E4SortedList_Intf.PRIMARY_SORT_MIDDLE,
E4SortedList_Intf.PRIMARY_SORT_BOTTOM
public void set(int column,
long value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
E4Long value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
int value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
java.lang.String value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
E4String value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
Language dest_lang,
E4Label_Intf value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
java.util.Date value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
boolean value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
float value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
IMG value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
B value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
I value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
FONT value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be set
public void set(int column,
TABLE value)
column - column count starts at 0, and is 1 below the number specified on the Constructorvalue - the value to be setpublic int getPrimarySort()
E4SortedList_Intf.PRIMARY_SORT_TOP) or at the bottom
of the table (E4SortedList_Intf.PRIMARY_SORT_BOTTOM. All other rows must have a value
of E4SortedList_Intf.PRIMARY_SORT_MIDDLE. Sorting also works within the groupings.
getPrimarySort in interface E4SortedList_IntfsetPrimarySort(int),
E4SortedList_Intf.PRIMARY_SORT_TOP,
E4SortedList_Intf.PRIMARY_SORT_MIDDLE,
E4SortedList_Intf.PRIMARY_SORT_BOTTOMpublic void setBgColor(E4Color color)
color - the backgroundcolor or null if default shall be used.getBgColor()public E4Color getBgColor()
getBgColor in interface E4SortedList_IntfsetBgColor(e4s.html.E4Color)
public int compareTo(E4SortedList_Intf element,
int column)
compareTo in interface E4SortedList_Intfelement - the second element to compare withcolumn - column count starts at 0, and is 1 below the number specified on the Constructor
public java.lang.String toHtml(int column,
E4SortedListColumn coldef,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
toHtml in interface E4SortedList_Intfcolumn - the specified column, starting with 0
java.lang.Exceptionpublic boolean canSelect()
E4SortedList_Intf
canSelect in interface E4SortedList_Intfpublic java.lang.String getData4Parameter(int column)
E4SortedList_Intf
getData4Parameter in interface E4SortedList_Intfcolumn - the specified column, starting with 0
public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||