Class OBViewFieldHandler.FormFieldComparator
- java.lang.Object
-
- org.openbravo.client.application.window.OBViewFieldHandler.FormFieldComparator
-
- All Implemented Interfaces:
Comparator<Field>
- Enclosing class:
- OBViewFieldHandler
public static class OBViewFieldHandler.FormFieldComparator extends Object implements Comparator<Field>
-
-
Constructor Summary
Constructors Constructor Description FormFieldComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Field arg0, Field arg1)
Fields with null sequence number are in the bottom of the form.-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Field arg0, Field arg1)
Fields with null sequence number are in the bottom of the form. In case multiple null sequences, it is sorted by field UUID.- Specified by:
compare
in interfaceComparator<Field>
-
-