Module jEdit

Class MenuItemTextComparator

java.lang.Object
org.gjt.sp.jedit.menu.MenuItemTextComparator
All Implemented Interfaces:
Comparator<JMenuItem>

public class MenuItemTextComparator extends Object implements Comparator<JMenuItem>
MenuItemTextComparator implements java.util.Comparator, and compares the text value of JMenuItems using the case-insensitive smart comparison of StandardUtilities.compareStrings. If one of the JMenuItems is an EnhancedMenuItem it is given a higher comparison value.