public class Java8Compat
extends java.lang.Object
Constructor and Description |
---|
Java8Compat() |
Modifier and Type | Method and Description |
---|---|
static int |
getMenuShortcutKeyMaskEx() |
static java.awt.Rectangle |
modelToView(javax.swing.text.JTextComponent comp,
int pos) |
static java.awt.Rectangle |
modelToView(javax.swing.plaf.TextUI ui,
javax.swing.text.JTextComponent comp,
int pos) |
static int |
viewToModel(javax.swing.text.JTextComponent comp,
java.awt.Point pt) |
public static int getMenuShortcutKeyMaskEx()
public static java.awt.Rectangle modelToView(javax.swing.text.JTextComponent comp, int pos) throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationException
public static java.awt.Rectangle modelToView(javax.swing.plaf.TextUI ui, javax.swing.text.JTextComponent comp, int pos) throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationException
public static int viewToModel(javax.swing.text.JTextComponent comp, java.awt.Point pt)