public class KeyNavExt<E extends com.extjs.gxt.ui.client.event.ComponentEvent> extends Object implements com.extjs.gxt.ui.client.event.Listener<E>
Modifier and Type | Field and Description |
---|---|
static int |
KEY_F2 |
Constructor and Description |
---|
KeyNavExt()
Creates a new KeyNav without a target component.
|
KeyNavExt(com.extjs.gxt.ui.client.widget.Component target)
Creates a new key nav for the specified target.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(com.extjs.gxt.ui.client.widget.Component target)
Binds the key nav to the component.
|
com.extjs.gxt.ui.client.widget.Component |
getComponent()
Returns the target component.
|
static com.extjs.gxt.ui.client.event.EventType |
getKeyEvent()
Returns the key event type.
|
void |
handleEvent(com.extjs.gxt.ui.client.event.ComponentEvent ce) |
void |
onKeyPress(E ce) |
void |
onKeyUp(E ce) |
public static final int KEY_F2
public KeyNavExt()
Listener.handleEvent(BaseEvent)
method.public KeyNavExt(com.extjs.gxt.ui.client.widget.Component target)
target
- the target componentpublic static com.extjs.gxt.ui.client.event.EventType getKeyEvent()
public void bind(com.extjs.gxt.ui.client.widget.Component target)
target
- the target componentpublic com.extjs.gxt.ui.client.widget.Component getComponent()
public void handleEvent(com.extjs.gxt.ui.client.event.ComponentEvent ce)
handleEvent
in interface com.extjs.gxt.ui.client.event.Listener<E extends com.extjs.gxt.ui.client.event.ComponentEvent>
public void onKeyPress(E ce)
public void onKeyUp(E ce)
Copyright © 2018. All Rights Reserved.