|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWindowService
a service for functionality related to whatever objects constitute top-level windows of the native desktop.
Method Summary | |
---|---|
void |
addTopLevelWindowListener(TopLevelWindowEventListener listener)
add a listener to be notified of the creation or destruction of top-level windows |
Object |
getActiveWindow()
get the active or current window. |
int |
getCurrentProcessId()
|
int |
getProcessId(Object window)
get the process id with which the given window is associated |
Object[] |
getTopLevelWindows()
retreave all top-level windows from whatever object is considered to be the underlying platform's desktop. |
void |
removeTopLevelWindowListener(TopLevelWindowEventListener listener)
remove the listener previously added via addTopLevelWindowListener |
void |
setActiveWindow(Object window)
sets the given window as the activeWindow |
Method Detail |
---|
Object[] getTopLevelWindows()
Object getActiveWindow()
int getProcessId(Object window)
window
- window for which process id is desired
int getCurrentProcessId()
void addTopLevelWindowListener(TopLevelWindowEventListener listener)
listener
- void removeTopLevelWindowListener(TopLevelWindowEventListener listener)
addTopLevelWindowListener
listener
- addTopLevelWindowListener(TopLevelWindowEventListener)
void setActiveWindow(Object window)
window
- to be set as active
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |