com.opera.core.systems.scope
Enum DesktopWindowManagerCommand

java.lang.Object
  extended by java.lang.Enum<DesktopWindowManagerCommand>
      extended by com.opera.core.systems.scope.DesktopWindowManagerCommand
All Implemented Interfaces:
ICommand, java.io.Serializable, java.lang.Comparable<DesktopWindowManagerCommand>

public enum DesktopWindowManagerCommand
extends java.lang.Enum<DesktopWindowManagerCommand>
implements ICommand

This enum maps the commands for the Window Manager 2.0.


Enum Constant Summary
DEFAULT
           
GET_ACTIVE_WINDOW
           
GET_QUICK_WIDGET
           
LIST_QUICK_MENUS
           
LIST_QUICK_WIDGETS
           
LIST_WINDOWS
           
MENU_CLOSED
           
MENU_PRESSED
           
MENU_SHOWN
           
PRESS_QUICK_MENU
           
WINDOW_ACTIVATED
           
WINDOW_CLOSED
           
WINDOW_LOADED
           
WINDOW_SHOWN
           
WINDOW_UPDATED
           
 
Method Summary
static DesktopWindowManagerCommand get(int code)
           
 int getCommandID()
          Get command id to execute on host, service definitions are available on Scope Interface
 java.lang.String getServiceName()
          Associates a command id with a service name
static DesktopWindowManagerCommand valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DesktopWindowManagerCommand[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GET_ACTIVE_WINDOW

public static final DesktopWindowManagerCommand GET_ACTIVE_WINDOW

LIST_WINDOWS

public static final DesktopWindowManagerCommand LIST_WINDOWS

LIST_QUICK_WIDGETS

public static final DesktopWindowManagerCommand LIST_QUICK_WIDGETS

GET_QUICK_WIDGET

public static final DesktopWindowManagerCommand GET_QUICK_WIDGET

WINDOW_SHOWN

public static final DesktopWindowManagerCommand WINDOW_SHOWN

WINDOW_UPDATED

public static final DesktopWindowManagerCommand WINDOW_UPDATED

WINDOW_CLOSED

public static final DesktopWindowManagerCommand WINDOW_CLOSED

WINDOW_ACTIVATED

public static final DesktopWindowManagerCommand WINDOW_ACTIVATED

WINDOW_LOADED

public static final DesktopWindowManagerCommand WINDOW_LOADED

LIST_QUICK_MENUS

public static final DesktopWindowManagerCommand LIST_QUICK_MENUS

MENU_SHOWN

public static final DesktopWindowManagerCommand MENU_SHOWN

MENU_CLOSED

public static final DesktopWindowManagerCommand MENU_CLOSED

PRESS_QUICK_MENU

public static final DesktopWindowManagerCommand PRESS_QUICK_MENU

MENU_PRESSED

public static final DesktopWindowManagerCommand MENU_PRESSED

DEFAULT

public static final DesktopWindowManagerCommand DEFAULT
Method Detail

values

public static DesktopWindowManagerCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DesktopWindowManagerCommand c : DesktopWindowManagerCommand.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DesktopWindowManagerCommand valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCommandID

public int getCommandID()
Description copied from interface: ICommand
Get command id to execute on host, service definitions are available on Scope Interface

Specified by:
getCommandID in interface ICommand
Returns:
The id associated with the command

getServiceName

public java.lang.String getServiceName()
Description copied from interface: ICommand
Associates a command id with a service name

Specified by:
getServiceName in interface ICommand
Returns:
Name of the service the command belongs to

get

public static DesktopWindowManagerCommand get(int code)


Copyright © 2011. All Rights Reserved.