|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDesktopWindowManager
| Method Summary | |
|---|---|
int |
getActiveQuickWindowId()
Gets id of active window. |
int |
getOpenQuickWindowCount()
Gets number of open windows. |
QuickMenu |
getQuickMenu(String menuName)
Gets the menu with name name. |
QuickMenu |
getQuickMenu(String menuName,
int windowId)
|
QuickMenuItem |
getQuickMenuItemByAccKey(String key,
String menuName)
Gets the menu item with the given accelerator key in the menu with name menuName. |
QuickMenuItem |
getQuickMenuItemByAction(String action)
Gets the menu with the action specified, if any. |
QuickMenuItem |
getQuickMenuItemByName(String name)
|
QuickMenuItem |
getQuickMenuItemByName(String name,
int window_id)
|
QuickMenuItem |
getQuickMenuItemByPosition(int row,
String menuName)
Gets the menu item with the given position in the menu with name menuName. |
QuickMenuItem |
getQuickMenuItemByShortcut(String shortcut)
Gets the Menu item with the given shortcut. |
QuickMenuItem |
getQuickMenuItemBySubmenu(String submenu)
Gets the menu item that opens the sub-menu. |
QuickMenuItem |
getQuickMenuItemByText(String text)
Gets the menu with the text specified, if any. |
List<QuickMenuItem> |
getQuickMenuItemList()
|
List<QuickMenu> |
getQuickMenuList()
|
QuickWidget |
getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value)
Gets a QuickWidget based on a specific property. |
QuickWidget |
getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value,
String parentName)
Gets the quick widget in a specified window based on a specific property and its parent widgets name. |
QuickWidget |
getQuickWidgetByPos(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
int row,
int column)
Gets the quick widget based on its position. |
QuickWidget |
getQuickWidgetByPos(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
int row,
int column,
String parentName)
Gets the quick widget based on its position and its parent widgets name. |
List<QuickWidget> |
getQuickWidgetList(int windowId)
Gets list of all QuickWidgets in the window. |
QuickWindow |
getQuickWindow(DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value)
Gets the quick window based on a specific property. |
QuickWindow |
getQuickWindowById(int windowId)
Gets the quick window with the given window id. |
QuickWindow |
getQuickWindowByName(String name)
Gets the window with name name. |
int |
getQuickWindowID(String name)
Gets window id of window with the given name. |
List<QuickWindow> |
getQuickWindowList()
Gets a list of all open windows. |
String |
getQuickWindowName(int windowId)
Gets the name of the window with windowId. |
void |
init()
Does initialization necessary to set up the service. |
void |
pressQuickMenuItem(String menuItemText,
boolean popMenu)
|
| Method Detail |
|---|
void init()
int getActiveQuickWindowId()
int getOpenQuickWindowCount()
List<QuickWidget> getQuickWidgetList(int windowId)
windowId - id of window
int getQuickWindowID(String name)
name - window name
List<QuickWindow> getQuickWindowList()
String getQuickWindowName(int windowId)
windowId - id of window
QuickWidget getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value)
type - what typewindowId - window id of the window containing the widgetproperty - property specified for the searchvalue - value of property given
QuickWidget getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value,
String parentName)
type - what typewindowId - window id of the window containing the widgetproperty - property specified for the searchvalue - value of property givenparentName - Name of the widgets parent widget
QuickWidget getQuickWidgetByPos(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
int row,
int column)
type - what typewindowId - window id of the window containing the widgetrow - row of the widgetcolumn - column of the widget
QuickWidget getQuickWidgetByPos(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
int row,
int column,
String parentName)
type - what typewindowId - window id of the window containing the widgetrow - row of the widgetcolumn - column of the widgetparentName - Name of the widgets parent widget
QuickWindow getQuickWindow(DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
String value)
property - - property to search byvalue - - value of property given
QuickWindow getQuickWindowById(int windowId)
windowId - id of the window
QuickWindow getQuickWindowByName(String name)
name - window name
void pressQuickMenuItem(String menuItemText,
boolean popMenu)
QuickMenu getQuickMenu(String menuName)
menuName - the menu's name
QuickMenuItem getQuickMenuItemByAction(String action)
action - of the menu item to search for
QuickMenuItem getQuickMenuItemByText(String text)
text - of the menu item to search for
QuickMenuItem getQuickMenuItemByPosition(int row,
String menuName)
row - the row of the item, counting from zero, and including both normal items and
menu separatorsmenuName - name of the menu to lookup the menu item in
QuickMenuItem getQuickMenuItemByAccKey(String key,
String menuName)
key - the shortcut key of the menu item to search for (the character that's
underlined/marked in the menu item text)menuName - name of the menu of the menu item
QuickMenuItem getQuickMenuItemByShortcut(String shortcut)
shortcut - string representation of the shortcut of the menuitem (i.e. "Ctrl+O")
QuickMenuItem getQuickMenuItemBySubmenu(String submenu)
submenu - the name of the sub-menu the menu item opens when its selected/clicked
List<QuickMenu> getQuickMenuList()
List<QuickMenuItem> getQuickMenuItemList()
QuickMenuItem getQuickMenuItemByName(String name)
name - name of the item. This is either the name of the action the item executes when
selected The name of the sub-menu the item opens when selected "Separator" for
items that are separators
QuickMenu getQuickMenu(String menuName,
int windowId)
menuName - name of the menu (as specified in standard_menu.ini)windowId - id of the window the menu is attached to (note: only makes sense for menu bar)
QuickMenuItem getQuickMenuItemByName(String name,
int window_id)
name - Name of the menuItemwindow_id - windowId of the window the menu of the item is in (note: only makes sense for
menu bar items)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||