1 /* 2 * @(#)SortOrder.java 1.2 05/11/17 3 * 4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 package javax.swing; 8 9 /** 10 * SortOrder is an enumeration of the possible sort orderings. 11 * 12 * @version 1.2 11/17/05 13 * @see RowSorter 14 * @since 1.6 15 */ 16 public enum SortOrder { 17 /** 18 * Enumeration value indicating the items are sorted in increasing order. 19 * For example, the set <code>1, 4, 0</code> sorted in 20 * <code>ASCENDING</code> order is <code>0, 1, 4</code>. 21 */ 22 ASCENDING, 23 24 /** 25 * Enumeration value indicating the items are sorted in decreasing order. 26 * For example, the set <code>1, 4, 0</code> sorted in 27 * <code>DESCENDING</code> order is <code>4, 1, 0</code>. 28 */ 29 DESCENDING, 30 31 /** 32 * Enumeration value indicating the items are unordered. 33 * For example, the set <code>1, 4, 0</code> in 34 * <code>UNSORTED</code> order is <code>1, 4, 0</code>. 35 */ 36 UNSORTED 37 } 38