Class Java8Compat


  • public class Java8Compat
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Java8Compat()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getMenuShortcutKeyMaskEx()  
      static java.awt.Rectangle modelToView​(javax.swing.plaf.TextUI ui, javax.swing.text.JTextComponent comp, int pos)  
      static java.awt.Rectangle modelToView​(javax.swing.text.JTextComponent comp, int pos)  
      static int viewToModel​(javax.swing.text.JTextComponent comp, java.awt.Point pt)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Java8Compat

        public Java8Compat()
    • Method Detail

      • getMenuShortcutKeyMaskEx

        public static int getMenuShortcutKeyMaskEx()
      • modelToView

        public static java.awt.Rectangle modelToView​(javax.swing.text.JTextComponent comp,
                                                     int pos)
                                              throws javax.swing.text.BadLocationException
        Throws:
        javax.swing.text.BadLocationException
      • modelToView

        public static java.awt.Rectangle modelToView​(javax.swing.plaf.TextUI ui,
                                                     javax.swing.text.JTextComponent comp,
                                                     int pos)
                                              throws javax.swing.text.BadLocationException
        Throws:
        javax.swing.text.BadLocationException
      • viewToModel

        public static int viewToModel​(javax.swing.text.JTextComponent comp,
                                      java.awt.Point pt)