|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.introspection.sortable.SortDefinition
public class SortDefinition
The SortDefinition.
(c) copyright 2002-2005-2004 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , 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 |
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 ascendingMethod Detail |
---|
public int getFieldID()
getFieldID
in interface Sortable.Definition
Sortable.Definition.getFieldID()
public boolean isAcendingSort()
Sortable.Definition
isAcendingSort
in interface Sortable.Definition
#isAcendingSort()
public void setAscending(boolean ascending)
Sortable.Definition
setAscending
in interface Sortable.Definition
ascending
- whether the sort is ascending#setAscending(boolean)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |