|
||||||||||
| 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(java.lang.String menuName)
Gets the menu with name name. |
QuickMenu |
getQuickMenu(java.lang.String menuName,
int windowId)
|
QuickMenuItem |
getQuickMenuItemByAccKey(java.lang.String key,
java.lang.String menuName)
Gets the menu item with the given accelerator key in the menu with name menuName. |
QuickMenuItem |
getQuickMenuItemByAction(java.lang.String action)
Gets the menu with the action specified, if any. |
QuickMenuItem |
getQuickMenuItemByName(java.lang.String name)
|
QuickMenuItem |
getQuickMenuItemByName(java.lang.String name,
int window_id)
|
QuickMenuItem |
getQuickMenuItemByPosition(int row,
java.lang.String menuName)
Gets the menu item with the given position in the menu with name menuName. |
QuickMenuItem |
getQuickMenuItemByShortcut(java.lang.String shortcut)
Gets the Menu item with the given shortcut. |
QuickMenuItem |
getQuickMenuItemBySubmenu(java.lang.String submenu)
Gets the menu item that opens the sub-menu. |
QuickMenuItem |
getQuickMenuItemByText(java.lang.String text)
Gets the menu with the text specified, if any. |
java.util.List<QuickMenuItem> |
getQuickMenuItemList()
|
java.util.List<QuickMenu> |
getQuickMenuList()
|
QuickWidget |
getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
java.lang.String value)
Gets a QuickWidget based on a specific property. |
QuickWidget |
getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
java.lang.String value,
java.lang.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,
java.lang.String parentName)
Gets the quick widget based on its position and its parent widgets name. |
java.util.List<QuickWidget> |
getQuickWidgetList(int windowId)
Gets list of all QuickWidgets in the window. |
QuickWindow |
getQuickWindow(DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
java.lang.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(java.lang.String name)
Gets the window with name name. |
int |
getQuickWindowID(java.lang.String name)
Gets window id of window with the given name. |
java.util.List<QuickWindow> |
getQuickWindowList()
Gets a list of all open windows. |
java.lang.String |
getQuickWindowName(int windowId)
Gets the name of the window with windowId. |
void |
init()
Does initialization necessary to set up the service. |
void |
pressQuickMenuItem(java.lang.String menuItemText,
boolean popMenu)
|
| Method Detail |
|---|
void init()
int getActiveQuickWindowId()
int getOpenQuickWindowCount()
java.util.List<QuickWidget> getQuickWidgetList(int windowId)
windowId - id of window
int getQuickWindowID(java.lang.String name)
name - window name
java.util.List<QuickWindow> getQuickWindowList()
java.lang.String getQuickWindowName(int windowId)
windowId - id of window
QuickWidget getQuickWidget(DesktopWmProtos.QuickWidgetInfo.QuickWidgetType type,
int windowId,
DesktopWmProtos.QuickWidgetSearch.QuickWidgetSearchType property,
java.lang.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,
java.lang.String value,
java.lang.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,
java.lang.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,
java.lang.String value)
property - - property to search byvalue - - value of property given
QuickWindow getQuickWindowById(int windowId)
windowId - id of the window
QuickWindow getQuickWindowByName(java.lang.String name)
name - window name
void pressQuickMenuItem(java.lang.String menuItemText,
boolean popMenu)
QuickMenu getQuickMenu(java.lang.String menuName)
menuName - the menu's name
QuickMenuItem getQuickMenuItemByAction(java.lang.String action)
action - of the menu item to search for
QuickMenuItem getQuickMenuItemByText(java.lang.String text)
text - of the menu item to search for
QuickMenuItem getQuickMenuItemByPosition(int row,
java.lang.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(java.lang.String key,
java.lang.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(java.lang.String shortcut)
shortcut - string representation of the shortcut of the menuitem (i.e. "Ctrl+O")
QuickMenuItem getQuickMenuItemBySubmenu(java.lang.String submenu)
submenu - the name of the sub-menu the menu item opens when its selected/clicked
java.util.List<QuickMenu> getQuickMenuList()
java.util.List<QuickMenuItem> getQuickMenuItemList()
QuickMenuItem getQuickMenuItemByName(java.lang.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(java.lang.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(java.lang.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 | |||||||||