Microsoft SDK for Java

ListView.setSorting

Sets a value indicating whether list items are sorted based on item text in ascending or descending order or whether items are not sorted.

Syntax

public void setSorting( int value )

Parameters

value

An integer that indicates how items in the list are sorted. Possible values are constants defined in the SortOrder class. The default value is SortOrder.NONE.

See Also   getSorting

© 1999 Microsoft Corporation. All rights reserved. Terms of use.