Package com.ardor3d.input.swt
Class SwtFocusWrapper
java.lang.Object
com.ardor3d.input.swt.SwtFocusWrapper
- All Implemented Interfaces:
FocusWrapper
,EventListener
,org.eclipse.swt.events.FocusListener
,org.eclipse.swt.internal.SWTEventListener
public class SwtFocusWrapper
extends Object
implements FocusWrapper, org.eclipse.swt.events.FocusListener
Focus Listener wrapper class for use with SWT.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
focusGained
(org.eclipse.swt.events.FocusEvent focusEvent) void
focusLost
(org.eclipse.swt.events.FocusEvent focusEvent) boolean
void
init()
-
Constructor Details
-
SwtFocusWrapper
public SwtFocusWrapper(org.eclipse.swt.widgets.Control control)
-
-
Method Details
-
focusGained
public void focusGained(org.eclipse.swt.events.FocusEvent focusEvent) - Specified by:
focusGained
in interfaceorg.eclipse.swt.events.FocusListener
-
focusLost
public void focusLost(org.eclipse.swt.events.FocusEvent focusEvent) - Specified by:
focusLost
in interfaceorg.eclipse.swt.events.FocusListener
-
getAndClearFocusLost
public boolean getAndClearFocusLost()- Specified by:
getAndClearFocusLost
in interfaceFocusWrapper
-
init
public void init()- Specified by:
init
in interfaceFocusWrapper
-