org.openqa.selenium.remote
Class RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager

java.lang.Object
  extended by org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager
All Implemented Interfaces:
WebDriver.ImeHandler
Enclosing class:
RemoteWebDriver.RemoteWebDriverOptions

protected class RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager
extends Object
implements WebDriver.ImeHandler


Constructor Summary
protected RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager()
           
 
Method Summary
 void activateEngine(String engine)
          Make an engines that is available (appears on the list returned by getAvailableEngines) active.
 void deactivate()
          De-activate IME input (turns off the currently activated engine).
 String getActiveEngine()
          Get the name of the active IME engine.
 List<String> getAvailableEngines()
          All available engines on the machine.
 boolean isActivated()
          Indicates whether IME input active at the moment (not if it's available).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager

protected RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager()
Method Detail

getAvailableEngines

public List<String> getAvailableEngines()
Description copied from interface: WebDriver.ImeHandler
All available engines on the machine. To use an engine, it has to be activated.

Specified by:
getAvailableEngines in interface WebDriver.ImeHandler
Returns:
list of available IME engines.

getActiveEngine

public String getActiveEngine()
Description copied from interface: WebDriver.ImeHandler
Get the name of the active IME engine. The name string is platform-specific.

Specified by:
getActiveEngine in interface WebDriver.ImeHandler
Returns:
name of the active IME engine.

isActivated

public boolean isActivated()
Description copied from interface: WebDriver.ImeHandler
Indicates whether IME input active at the moment (not if it's available).

Specified by:
isActivated in interface WebDriver.ImeHandler
Returns:
true if IME input is available and currently active, false otherwise.

deactivate

public void deactivate()
Description copied from interface: WebDriver.ImeHandler
De-activate IME input (turns off the currently activated engine). Note that getActiveEngine may still return the name of the engine but isActivated will return false.

Specified by:
deactivate in interface WebDriver.ImeHandler

activateEngine

public void activateEngine(String engine)
Description copied from interface: WebDriver.ImeHandler
Make an engines that is available (appears on the list returned by getAvailableEngines) active. After this call, the only loaded engine on the IME daemon will be this one and the input sent using sendKeys will be converted by the engine. Noteh that this is a platform-independent method of activating IME (the platform-specific way being using keyboard shortcuts).

Specified by:
activateEngine in interface WebDriver.ImeHandler
Parameters:
engine - name of engine to activate.


Copyright © 2011. All Rights Reserved.