public class MacUIUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAC_COMBO_BORDER_V_OFFSET |
static java.lang.String |
MAC_FILL_BORDER |
static boolean |
USE_QUARTZ |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.event.MouseEvent |
fixMacContextMenuIssue(java.awt.event.MouseEvent e)
By default, ctrl+click changes selection in swing trees and tables
(see
BasicTreeUI.selectPathForEvent(TreePath, MouseEvent)
or BasicTableUI.Handler.mousePressed(MouseEvent)),
while it should leave the selection intact and show context menu. |
static java.awt.Cursor |
getInvertedTextCursor() |
static void |
hideCursor() |
public static final boolean USE_QUARTZ
public static final java.lang.String MAC_FILL_BORDER
public static final int MAC_COMBO_BORDER_V_OFFSET
public static void hideCursor()
public static java.awt.Cursor getInvertedTextCursor()
public static java.awt.event.MouseEvent fixMacContextMenuIssue(java.awt.event.MouseEvent e)
BasicTreeUI.selectPathForEvent(TreePath, MouseEvent)
or BasicTableUI.Handler.mousePressed(MouseEvent)),
while it should leave the selection intact and show context menu.