|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ds.fw.types.FwSimpleObject
|
+--com.ds.fw.dv.properties.FwDVProperty
|
+--com.ds.fw.dv.list.FwDVListPropertySort
This class represents the "Sort" option of the edit table. It contains information about which table by which field to be sort and which sort is currently used (which table has to be sorted).
| Field Summary | |
java.util.Vector |
columns
This columns contains the name of a table columns which will be used. |
| Fields inherited from class com.ds.fw.dv.properties.FwDVProperty |
active, data, name, viewType |
| Constructor Summary | |
FwDVListPropertySort()
|
|
| Method Summary | |
void |
clearColumns()
Creates two new vectors for fields and tables. |
long |
getColumn(int i)
Gets a column by index. |
int |
getNBColumns()
Returns the number all fields for search. |
long |
getP()
|
int |
isValidSort(int s)
Checks if the given sort index is in the array bounds. |
void |
setColumn(long columnID)
Sets a table f1 to be searched by column f. |
void |
setP(long l)
|
| Methods inherited from class com.ds.fw.dv.properties.FwDVProperty |
get, getActive, getName, getString, getViewType, name, set, setActive, setName, setViewType |
| Methods inherited from class com.ds.fw.types.FwSimpleObject |
getClassName, getClone, getCopy, getCopy, getDeepCopy, getDisplayString, getDisplayStringFor, postCopy, printStackTrace, toString, toStringValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.util.Vector columns
| Constructor Detail |
public FwDVListPropertySort()
| Method Detail |
public long getP()
public void setP(long l)
public void clearColumns()
#fieldspublic int getNBColumns()
public void setColumn(long columnID)
public long getColumn(int i)
i - Index of a column.
If it is not in the array bounds it will be assumed as 0 if lower,
otherwise an empty string will be returned.
public int isValidSort(int s)
s - the index to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||