Package org.eclipse.nebula.cwt.v
Class VTracker
java.lang.Object
org.eclipse.nebula.cwt.v.VTracker
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.swt.events.DisposeListener
,org.eclipse.swt.internal.SWTEventListener
public class VTracker
extends java.lang.Object
implements org.eclipse.swt.events.DisposeListener
-
Method Summary
Modifier and Type Method Description (package private) void
activate(VControl vcontrol)
(package private) static void
addTopLevelPanel(VPanel panel)
static void
deactivate()
(package private) void
deactivate(VControl vcontrol)
static VControl
getActiveControl()
static VControl
getFocusControl()
static int
getLastTraverse()
static int
getMouseDownButton()
static org.eclipse.swt.graphics.Point
getMouseDownLocation()
static VControl
getVControl(org.eclipse.swt.widgets.Widget widget)
(package private) static VTracker
instance()
static boolean
isFocusControl(org.eclipse.swt.widgets.Control control)
static boolean
isMouseDown()
(package private) boolean
setFocusControl(VControl control)
void
widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
-
Method Details
-
addTopLevelPanel
-
deactivate
public static void deactivate() -
getLastTraverse
public static int getLastTraverse() -
getMouseDownButton
public static int getMouseDownButton() -
getMouseDownLocation
public static org.eclipse.swt.graphics.Point getMouseDownLocation() -
isFocusControl
public static boolean isFocusControl(org.eclipse.swt.widgets.Control control) -
isMouseDown
public static boolean isMouseDown() -
getFocusControl
-
getActiveControl
-
instance
-
getVControl
-
activate
-
deactivate
-
setFocusControl
-
widgetDisposed
public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)- Specified by:
widgetDisposed
in interfaceorg.eclipse.swt.events.DisposeListener
-