Package org.omegat.util
Class Java8Compat
- java.lang.Object
-
- org.omegat.util.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 intgetMenuShortcutKeyMaskEx()static java.awt.RectanglemodelToView(javax.swing.plaf.TextUI ui, javax.swing.text.JTextComponent comp, int pos)static java.awt.RectanglemodelToView(javax.swing.text.JTextComponent comp, int pos)static intviewToModel(javax.swing.text.JTextComponent comp, java.awt.Point pt)
-
-
-
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)
-
-