public class SwtFocusAction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SwtMng |
guiMng |
private SwtProperties |
propertiesGui |
(package private) java.lang.String |
sCmdEnter |
(package private) java.lang.String |
sCmdRelease |
private GralUserAction |
userAction
Reference to the users method.
|
Constructor and Description |
---|
SwtFocusAction(SwtMng guiMng,
GralUserAction userCmdGui,
java.lang.String sCmdEnter,
java.lang.String sCmdRelease)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
exec(FocusEvent ev,
java.lang.String sCmd) |
void |
focusGained(FocusEvent ev) |
void |
focusLost(FocusEvent ev) |
(package private) void |
setUserAction(GralUserAction userAction) |
private GralUserAction userAction
protected final SwtMng guiMng
java.lang.String sCmdEnter
java.lang.String sCmdRelease
private final SwtProperties propertiesGui
public SwtFocusAction(SwtMng guiMng, GralUserAction userCmdGui, java.lang.String sCmdEnter, java.lang.String sCmdRelease)
guiMng
- The Gui-manageruserCmdGui
- The users method for the action.sCmdPress
- command string provided as first parameter on mouse button press.sCmdRelease
- sCmdDoubleClick
- void setUserAction(GralUserAction userAction)
public void focusGained(FocusEvent ev)
public void focusLost(FocusEvent ev)
private void exec(FocusEvent ev, java.lang.String sCmd)