|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.loom.tags.core.LabelComparator
public class LabelComparator
Compares two options by the label. Used for ordering options inside AbstractOptionTag.
| Constructor Summary | |
|---|---|
LabelComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Option o1,
Option o2)
|
void |
setRepository(MessagesRepository repository)
|
| 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 LabelComparator()
| Method Detail |
|---|
public int compare(Option o1,
Option o2)
compare in interface java.util.Comparator<Option>public void setRepository(MessagesRepository repository)
setRepository in interface I18nComparator<Option>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||