|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.ui.main.table.SortInfo
public class SortInfo
This class holds information describes how a FileTable is currently sorted: sort criterion,
ascending/descending order, whether directories are displayed first or mixed with regular files.
The values are not meant to be changed outside this package: all setters are package-protected.
Use FileTable methods to change how the table is sorted.
| Constructor Summary | |
|---|---|
SortInfo()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
boolean |
getAscendingOrder()
Returns true if the current sort order of is ascending, false if it is descending. |
int |
getCriterion()
Returns the column criterion currently used to sort the table. |
boolean |
getFoldersFirst()
Returns true if folders are sorted and displayed before regular files, false if they
are mixed with regular files and sorted altogether. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortInfo()
| Method Detail |
|---|
public int getCriterion()
Columns for allowed valuespublic boolean getAscendingOrder()
true if the current sort order of is ascending, false if it is descending.
public boolean getFoldersFirst()
true if folders are sorted and displayed before regular files, false if they
are mixed with regular files and sorted altogether.
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard