nl.tudelft.simulation.introspection.sortable
Interface Sortable.Definition

All Known Implementing Classes:
SortDefinition
Enclosing interface:
Sortable

public static interface Sortable.Definition

Defines the sort definition


Method Summary
 int getFieldID()
           
 boolean isAcendingSort()
          Returns whether this definition defines an ascending sort.
 void setAscending(boolean ascending)
          Allows dynamic definitions
 

Method Detail

getFieldID

int getFieldID()
Returns:
Returns the field to which this sorting definition applies

isAcendingSort

boolean isAcendingSort()
Returns whether this definition defines an ascending sort.

Returns:
A 'false' return value implies a descending sort definition.

setAscending

void setAscending(boolean ascending)
Allows dynamic definitions

Parameters:
ascending - whether the sort is ascending


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.