public class FocusImpl extends Object
Modifier and Type | Method and Description |
---|---|
void |
blur(Element elem) |
Element |
createFocusable() |
void |
focus(Element elem) |
static FocusImpl |
getFocusImplForPanel()
Returns the focus implementation class for creating and manipulating
focusable elements that aren't naturally focusable in all browsers, such as
DIVs.
|
static FocusImpl |
getFocusImplForWidget()
Returns the focus implementation class for manipulating focusable elements
that are naturally focusable in all browsers, such as text boxes.
|
int |
getTabIndex(Element elem) |
void |
setAccessKey(Element elem,
char key) |
void |
setTabIndex(Element elem,
int index) |
public static FocusImpl getFocusImplForPanel()
public static FocusImpl getFocusImplForWidget()
public void blur(Element elem)
public Element createFocusable()
public void focus(Element elem)
public int getTabIndex(Element elem)
public void setAccessKey(Element elem, char key)
public void setTabIndex(Element elem, int index)
Copyright © 2018. All rights reserved.