|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.guiclient.model.item.ItemComparator
public class ItemComparator
Display object comparator. This class is a singleton.
| Constructor Summary | |
|---|---|
ItemComparator()
Private constructor. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
void |
setItemTypes(java.lang.String[] itemTypes)
Sets the item types supported by this comparator. |
| 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 |
| Constructor Detail |
|---|
public ItemComparator()
| Method Detail |
|---|
public void setItemTypes(java.lang.String[] itemTypes)
itemTypes - The item types in the order they should appear or null if the item type order doesn't matter
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||