Class DesktopShortCutPreferences.KeyStrokeComparator

  • All Implemented Interfaces:
    java.util.Comparator<javax.swing.KeyStroke>
    Enclosing class:
    DesktopShortCutPreferences

    protected static class DesktopShortCutPreferences.KeyStrokeComparator
    extends java.lang.Object
    implements java.util.Comparator<javax.swing.KeyStroke>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KeyStrokeComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(javax.swing.KeyStroke o1, javax.swing.KeyStroke o2)  
      • 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
    • Constructor Detail

      • KeyStrokeComparator

        protected KeyStrokeComparator()
    • Method Detail

      • compare

        public int compare​(javax.swing.KeyStroke o1,
                           javax.swing.KeyStroke o2)
        Specified by:
        compare in interface java.util.Comparator<javax.swing.KeyStroke>