com.itmill.toolkit.terminal.web
Class WebBrowser.JavaScriptVersion

java.lang.Object
  extended by com.itmill.toolkit.terminal.web.WebBrowser.JavaScriptVersion
Enclosing class:
WebBrowser

public class WebBrowser.JavaScriptVersion
extends Object


Method Summary
 boolean equals(Object obj)
           
 boolean supports(WebBrowser.JavaScriptVersion other)
          Checks the compability with other JavaScript version.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

supports

public boolean supports(WebBrowser.JavaScriptVersion other)
Checks the compability with other JavaScript version. Use this like: boolean isEcma = someVersion.supports(ECMA_262);

Parameters:
other - the java script version.
Returns:
true if this supports the other, otherwise false.


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.