|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.DefaultFilter.SortedComparator
oracle.ide.model.DefaultFilter.SortedFolderFirstComparator
oracle.ide.model.HierarchicalFilter.HierarchicalComparator
Field Summary |
Fields inherited from class oracle.ide.model.DefaultFilter.SortedComparator |
collator, SORT_ALPHA, SORT_BY_TYPE |
Constructor Summary | |
HierarchicalFilter.HierarchicalComparator() Default constructor. |
|
HierarchicalFilter.HierarchicalComparator(boolean sortByType) Constructor. |
Method Summary | |
protected int |
compareElements(Element e1, Element e2) Override of TNode.SortedComparator#compareElements(Element, Element) to call a different comparison routine when the Element objects are not either both Folder s or both not Folder s. |
Methods inherited from class oracle.ide.model.DefaultFilter.SortedFolderFirstComparator |
compareFolderToElement, compareUnlikeElementToElement, equals, isFolder |
Methods inherited from class oracle.ide.model.DefaultFilter.SortedComparator |
compare, compareElementToElement, compareStrings, compareTNodes, getOptions, setOptions |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HierarchicalFilter.HierarchicalComparator()
public HierarchicalFilter.HierarchicalComparator(boolean sortByType)
sortByType
- flag indicating that this comparator should also sort elements by element type.Method Detail |
protected int compareElements(Element e1, Element e2)
DefaultFilter.SortedFolderFirstComparator
TNode.SortedComparator#compareElements(Element, Element)
to call a different comparison routine when the Element
objects are not either both Folder
s or both not Folder
s.
Most subclasses should not need to override this method.
compareElements
in class DefaultFilter.SortedFolderFirstComparator
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.