/* * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.swing; /** * SortOrder is an enumeration of the possible sort orderings. * * @see RowSorter * @since 1.6 */ public enum SortOrder { /** * Enumeration value indicating the items are sorted in increasing order. * For example, the set 1, 4, 0 sorted in * ASCENDING order is 0, 1, 4. */ ASCENDING, /** * Enumeration value indicating the items are sorted in decreasing order. * For example, the set 1, 4, 0 sorted in * DESCENDING order is 4, 1, 0. */ DESCENDING, /** * Enumeration value indicating the items are unordered. * For example, the set 1, 4, 0 in * UNSORTED order is 1, 4, 0. */ UNSORTED }