public class XdevFocus extends Object
Component
after a window will
be opened.
Usage:
Component componentToFocus = ...; XdevFocus focus = new XdevFocus(); focus.setTarget(componentToFocus);or just
new XdevFocus(componentToFocus);
Constructor and Description |
---|
XdevFocus()
Creates a new focus helper.
|
XdevFocus(Component target)
Creates a new focus helper, and calls
setTarget(Component) for
target . |
Modifier and Type | Method and Description |
---|---|
Component |
getTarget()
Returns the target component which will be focused.
|
void |
setTarget(Component target)
Sets the target component of this focus helper.
|
public XdevFocus()
setTarget(Component)
public XdevFocus(Component target)
setTarget(Component)
for
target
.target
- the component to focusCopyright © 2003–2021 XDEV Software. All rights reserved.