|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.introspection.sortable.SortDefinition
The SortDefinition.
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Constructor Summary | |
SortDefinition(int fieldID,
boolean ascending)
constructs a new SortDefinition |
|
| Method Summary | |
int |
getFieldID()
|
boolean |
isAcendingSort()
Returns whether this definition defines an ascending sort. |
void |
setAscending(boolean ascending)
Allows dynamic definitions |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SortDefinition(int fieldID,
boolean ascending)
fieldID - the fieldIDascending - whether sorting should occur ascending| Method Detail |
public int getFieldID()
getFieldID in interface Sortable.DefinitionSortable.Definition.getFieldID()public boolean isAcendingSort()
Sortable.Definition
isAcendingSort in interface Sortable.Definition#isAcendingSort()public void setAscending(boolean ascending)
Sortable.Definition
setAscending in interface Sortable.Definitionascending - whether the sort is ascending#setAscending(boolean)public java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||