|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.panels.Navigable.NavigableComparator
public static class Navigable.NavigableComparator
Comparator implementation used for sorting child Navigable instances by label. This Comparator has a
provision for optionally specifying one item that is to appear first
in the sorting order, regardless of its sorting position
lexicographically.
| Field Summary | |
|---|---|
protected static java.text.Collator |
COLLATOR
|
| Constructor Summary | |
|---|---|
Navigable.NavigableComparator()
Constructs a default NavigableComparator. |
|
Navigable.NavigableComparator(java.lang.String firstItemLabel)
Constructs a NavigableComparator using the specified
label for the Navigable that is to appear first in the
sorting order. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
java.lang.String |
getFirstItemLabel()
Returns the label of the item that should appear first in the sorting order; returns null if all Navigable
instances are sorted lexicographically. |
void |
setFirstItemLabel(java.lang.String firstItemLabel)
Sets the label of the item that is to appear first in the sorting order; if null, then all Navigable instances
are sorted lexicographically. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Field Detail |
|---|
protected static final java.text.Collator COLLATOR
| Constructor Detail |
|---|
public Navigable.NavigableComparator()
NavigableComparator.
public Navigable.NavigableComparator(java.lang.String firstItemLabel)
NavigableComparator using the specified
label for the Navigable that is to appear first in the
sorting order.
| Method Detail |
|---|
public void setFirstItemLabel(java.lang.String firstItemLabel)
null, then all Navigable instances
are sorted lexicographically.
public java.lang.String getFirstItemLabel()
null if all Navigable
instances are sorted lexicographically.
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||