|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.accservice.javapp.JavaWindowService
public class JavaWindowService
Constructor Summary | |
---|---|
JavaWindowService()
|
Method Summary | |
---|---|
void |
addTopLevelWindowListener(TopLevelWindowEventListener listener)
add a listener to be notified of creation and destruction of top-level native 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 a previously added top-level window listener |
void |
setActiveWindow(Object window)
sets the given window as the activeWindow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaWindowService()
Method Detail |
---|
public Object[] getTopLevelWindows()
getTopLevelWindows
in interface IWindowService
public Object getActiveWindow()
IWindowService
getActiveWindow
in interface IWindowService
public void addTopLevelWindowListener(TopLevelWindowEventListener listener)
addTopLevelWindowListener
in interface IWindowService
listener
- public void removeTopLevelWindowListener(TopLevelWindowEventListener listener)
removeTopLevelWindowListener
in interface IWindowService
listener
- addTopLevelWindowListener(TopLevelWindowEventListener)
public int getCurrentProcessId()
getCurrentProcessId
in interface IWindowService
public int getProcessId(Object window)
IWindowService
getProcessId
in interface IWindowService
window
- window for which process id is desired
public void setActiveWindow(Object window)
IWindowService
setActiveWindow
in interface IWindowService
window
- to be set as active
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |