Java Doc for JemmyProperties.java in  » IDE-Netbeans » jemmy » org » netbeans » jemmy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » jemmy » org.netbeans.jemmy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.jemmy.JemmyProperties

JemmyProperties
public class JemmyProperties (Code)
Keeps default Jemmy properties.
author:
   Alexandre Iline (alexandre.iline@sun.com)


Field Summary
public static  intQUEUE_MODEL_MASK
     The event queue model mask.
public static  intROBOT_MODEL_MASK
     The robot using model mask.
public static  intSHORTCUT_MODEL_MASK
     Event shorcutting model mask.
public static  intSMOOTH_ROBOT_MODEL_MASK
     The robot using model mask.
 Hashtableproperties
    

Constructor Summary
protected  JemmyProperties()
    

Method Summary
protected  JemmyPropertiescloneThis()
     Creates an exact copy on this instance.
public  booleancontains(String name)
     Checks if "name" propery currently has a value.
Parameters:
  name - Property name.
public  voidcopyTo(JemmyProperties properties)
     Copy all properties from this instance into another.
public static  StringgetBuild()
     Returns build (like 20011231 (yyyymmdd)).
public  BundleManagergetBundleManager()
     Returns bundle manager.
public  CharBindingMapgetCharBindingMap()
     Returns char binding map.
public static  BundleManagergetCurrentBundleManager()
     Just like getProperties().getBundleManager().
public static  CharBindingMapgetCurrentCharBindingMap()
     Just like getProperties().getCharBindingMap().
public static  intgetCurrentDispatchingModel()
     Returns the current dispatching model.
public static  intgetCurrentDragAndDropStepLength()
     Returns the current drag and drop step length value.
public static  String[]getCurrentKeys()
     Returns the current key values.
public static  TestOutgetCurrentOutput()
     Just like getProperties().getOutput().
public static  ObjectgetCurrentProperty(String propertyName)
     Just like getProperties().getProperty(propertyName).
public static  StringgetCurrentResource(String key)
     Just like getProperties().getBundleManager().getResource(key).
Parameters:
  key - a resource key.
public static  StringgetCurrentResource(String bundleID, String key)
     Just like getProperties().getBundleManager().getResource(bundleID, key).
public static  longgetCurrentTimeout(String name)
     Just like getProperties().getTimeouts().getTimeout(name).
public static  TimeoutsgetCurrentTimeouts()
     Just like getProperties().getTimeouts().
public static  intgetDefaultDispatchingModel()
     Returns default event dispatching model.
public  intgetDispatchingModel()
     Returns the dispatching model.
public  intgetDragAndDropStepLength()
     Returns the drag and drop step length value.
public static  StringgetFullVersion()
     Returns full version string (like 1.0.1-20011231).
public  String[]getKeys()
     Returns the key values.
public static  StringgetMajorVersion()
     Returns major version (like 1.0).
public static  StringgetMinorVersion()
     Returns minor version (like 1).
public  TestOutgetOutput()
     Returns output.
public static  JemmyPropertiesgetProperties()
     Peeks upper JemmyProperties instance from stack.
public  ObjectgetProperty(String name)
     Returns the property value.
Parameters:
  name - Property name.
public  StringgetResource(String key)
     Returns resource value.
Parameters:
  key - Resource key.
public  StringgetResource(String bundleID, String key)
     Returns resource value from the specified bundle.
Parameters:
  bundleID - Id of a bundle to get resource from.
Parameters:
  key - Resource key.
public  longgetTimeout(String name)
     Returns a timeouts value.
public  TimeoutsgetTimeouts()
     Returns timeouts.
public static  StringgetVersion()
     Returns version string (like 1.0.1).
public  voidinit()
     Inits properties and dispatching model from system environment variables.
public static  longinitCurrentTimeout(String name, long newValue)
     Just like getProperties().getTimeouts().initTimeout(name, newValue).
public  voidinitDispatchingModel(boolean queue, boolean robot, boolean shortcut)
     Initializes dispatching model.
public  voidinitDispatchingModel(boolean queue, boolean robot, boolean shortcut, boolean smooth)
     Initializes dispatching model.
public  voidinitDispatchingModel(boolean queue, boolean robot)
     Initializes dispatching model.
public  voidinitDispatchingModel()
     Initializes dispatching model. Uses "jemmy.queue_dispatching" and "jemmy.robot_dispatching" system properties to determine what model should be used. Possible values for the both properties:
"off" - switch mode off.
public  voidinitProperties(String prop_file)
     Method to initialize timeouts and resources.
Parameters:
  prop_file - File to get filenames from.
public  voidinitProperties()
     Method to initialize timeouts and resources.
public  longinitTimeout(String name, long newValue)
     Inits a timeouts value.
public static  voidmain(String[] argv)
     Prints full version into satndart output.
public static  JemmyPropertiespop()
     Pops last pushed properties from the properties stack.
public static  JemmyPropertiespush()
     Creates a copy of the current JemmyProperties object and pushes it into the properties stack.
protected static  JemmyPropertiespush(JemmyProperties props)
     Pushes properties stack.
public static  ObjectremoveCurrentProperty(String propertyName)
     Removes a property from current properties list.
Parameters:
  propertyName - a property key.
public  ObjectremoveProperty(String name)
     Removes the property.
Parameters:
  name - A name of the property to be removed.
public  BundleManagersetBundleManager(BundleManager resources)
     Changes bundle manager.
Parameters:
  resources - new bundle manager.
public  CharBindingMapsetCharBindingMap(CharBindingMap map)
     Changes char binding map.
Parameters:
  map - new char binding map.
public static  BundleManagersetCurrentBundleManager(BundleManager resources)
     Just like getProperties().setBundleManager(resources).
public static  CharBindingMapsetCurrentCharBindingMap(CharBindingMap map)
     Just like getProperties().setCharBindingMap(map).
Parameters:
  map - new CharBindingMap.
public static  intsetCurrentDispatchingModel(int model)
     Defines event dispatching model. If (model & ROBOT_MODEL_MASK) != 0 java.awt.Robot class is used to reproduce user actions, otherwise actions are reproduced by event posting. If (model & QUEUE_MODEL_MASK) != 0 actions are reproduced through event queue.
Parameters:
  model - New dispatching model value.
public static  intsetCurrentDragAndDropStepLength(int model)
     Specifies the current drag and drop step length value.
Parameters:
  model - Pixel count to move mouse during one drag'n'drop step.
public static  TestOutsetCurrentOutput(TestOut out)
     Just like getProperties().setOutput(out).
public static  ObjectsetCurrentProperty(String propertyName, Object propertyValue)
     Just like getProperties().setProperty(propertyName, propertyValue).
public static  longsetCurrentTimeout(String name, long newValue)
     Just like getProperties().getTimeouts().setTimeout(name, newValue).
public static  TimeoutssetCurrentTimeouts(Timeouts to)
     Just like getProperties().setTimeouts(to).
public  intsetDispatchingModel(int model)
     Specifies the dispatching model value.
Parameters:
  model - New dispatching model value.
public  intsetDragAndDropStepLength(int length)
     Specifies the drag and drop step length value.
Parameters:
  length - Pixel count to move mouse during one drag'n'drop step.
public  TestOutsetOutput(TestOut out)
     Changes output.
Parameters:
  out - new output.
public  ObjectsetProperty(String name, Object newValue)
     Saves object as a static link to be used by other objects.
Parameters:
  name - Property name.
public  longsetTimeout(String name, long newValue)
     Changes a timeouts value.
public  TimeoutssetTimeouts(Timeouts to)
     Changes timeouts.
Parameters:
  to - new timeouts.

Field Detail
QUEUE_MODEL_MASK
public static int QUEUE_MODEL_MASK(Code)
The event queue model mask.
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.setCurrentDispatchingModel(int)



ROBOT_MODEL_MASK
public static int ROBOT_MODEL_MASK(Code)
The robot using model mask.
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.setCurrentDispatchingModel(int)



SHORTCUT_MODEL_MASK
public static int SHORTCUT_MODEL_MASK(Code)
Event shorcutting model mask. Should not be used together with robot mask.
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.setCurrentDispatchingModel(int)



SMOOTH_ROBOT_MODEL_MASK
public static int SMOOTH_ROBOT_MODEL_MASK(Code)
The robot using model mask.
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.setCurrentDispatchingModel(int)



properties
Hashtable properties(Code)




Constructor Detail
JemmyProperties
protected JemmyProperties()(Code)




Method Detail
cloneThis
protected JemmyProperties cloneThis()(Code)
Creates an exact copy on this instance. new JemmyProperties object.



contains
public boolean contains(String name)(Code)
Checks if "name" propery currently has a value.
Parameters:
  name - Property name. Should by unique. true if property was defined.
See Also:   JemmyProperties.setProperty(String,Object)
See Also:   JemmyProperties.getProperty(String)



copyTo
public void copyTo(JemmyProperties properties)(Code)
Copy all properties from this instance into another.
Parameters:
  properties - a JemmyProperties instance to copy properties into.



getBuild
public static String getBuild()(Code)
Returns build (like 20011231 (yyyymmdd)). a String representing the build value.



getBundleManager
public BundleManager getBundleManager()(Code)
Returns bundle manager. a BundleManager object representing the bundle manager value.
See Also:   JemmyProperties.setBundleManager



getCharBindingMap
public CharBindingMap getCharBindingMap()(Code)
Returns char binding map. the char binding map.
See Also:   JemmyProperties.setCharBindingMap



getCurrentBundleManager
public static BundleManager getCurrentBundleManager()(Code)
Just like getProperties().getBundleManager(). a BundleManager object representing the current bundle manager.
See Also:   JemmyProperties.setCurrentBundleManager



getCurrentCharBindingMap
public static CharBindingMap getCurrentCharBindingMap()(Code)
Just like getProperties().getCharBindingMap(). a CharBindingMap object representing the current char binding map.
See Also:   JemmyProperties.setCurrentCharBindingMap



getCurrentDispatchingModel
public static int getCurrentDispatchingModel()(Code)
Returns the current dispatching model. Event dispatching model.
See Also:   JemmyProperties.getDispatchingModel()
See Also:   JemmyProperties.setCurrentDispatchingModel(int)
See Also:   JemmyProperties.QUEUE_MODEL_MASK
See Also:   JemmyProperties.ROBOT_MODEL_MASK



getCurrentDragAndDropStepLength
public static int getCurrentDragAndDropStepLength()(Code)
Returns the current drag and drop step length value. Pixel count to move mouse during one drag'n'drop step.
See Also:   JemmyProperties.getDragAndDropStepLength()
See Also:   JemmyProperties.setCurrentDragAndDropStepLength(int)



getCurrentKeys
public static String[] getCurrentKeys()(Code)
Returns the current key values. an array of Strings representing the current key values



getCurrentOutput
public static TestOut getCurrentOutput()(Code)
Just like getProperties().getOutput(). a TestOut object representing the current output.
See Also:   JemmyProperties.setCurrentOutput



getCurrentProperty
public static Object getCurrentProperty(String propertyName)(Code)
Just like getProperties().getProperty(propertyName).
Parameters:
  propertyName - a property key a property value
See Also:   JemmyProperties.setCurrentProperty
See Also:   JemmyProperties.setCurrentTimeout



getCurrentResource
public static String getCurrentResource(String key)(Code)
Just like getProperties().getBundleManager().getResource(key).
Parameters:
  key - a resource key. a resource value



getCurrentResource
public static String getCurrentResource(String bundleID, String key)(Code)
Just like getProperties().getBundleManager().getResource(bundleID, key).
Parameters:
  key - a resource key.
Parameters:
  bundleID - a bundle ID a resource value



getCurrentTimeout
public static long getCurrentTimeout(String name)(Code)
Just like getProperties().getTimeouts().getTimeout(name).
Parameters:
  name - a timeout name a timeout value
See Also:   JemmyProperties.setCurrentTimeout



getCurrentTimeouts
public static Timeouts getCurrentTimeouts()(Code)
Just like getProperties().getTimeouts(). a Timeouts object representing the current timeouts.
See Also:   JemmyProperties.setCurrentTimeouts



getDefaultDispatchingModel
public static int getDefaultDispatchingModel()(Code)
Returns default event dispatching model. QUEUE_MODEL_MASK
See Also:   JemmyProperties.setCurrentDispatchingModel(int)
See Also:   JemmyProperties.QUEUE_MODEL_MASK
See Also:   JemmyProperties.ROBOT_MODEL_MASK



getDispatchingModel
public int getDispatchingModel()(Code)
Returns the dispatching model. Event dispatching model.
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.setDispatchingModel(int)
See Also:   JemmyProperties.QUEUE_MODEL_MASK
See Also:   JemmyProperties.ROBOT_MODEL_MASK



getDragAndDropStepLength
public int getDragAndDropStepLength()(Code)
Returns the drag and drop step length value. Pixel count to move mouse during one drag'n'drop step.
See Also:   JemmyProperties.getCurrentDragAndDropStepLength()
See Also:   JemmyProperties.setDragAndDropStepLength(int)



getFullVersion
public static String getFullVersion()(Code)
Returns full version string (like 1.0.1-20011231). a String representing the full version value.



getKeys
public String[] getKeys()(Code)
Returns the key values. an array of Strings representing the key values.



getMajorVersion
public static String getMajorVersion()(Code)
Returns major version (like 1.0). a String representing the major version value.



getMinorVersion
public static String getMinorVersion()(Code)
Returns minor version (like 1). a String representing the minor version value.



getOutput
public TestOut getOutput()(Code)
Returns output. a TestOut object representing the output value
See Also:   JemmyProperties.setOutput



getProperties
public static JemmyProperties getProperties()(Code)
Peeks upper JemmyProperties instance from stack. a JemmyProperties object representing the properties value.



getProperty
public Object getProperty(String name)(Code)
Returns the property value.
Parameters:
  name - Property name. Should by unique. Property value stored by setProperty(String, Object) method.
See Also:   JemmyProperties.getCurrentProperty(String)
See Also:   JemmyProperties.setProperty(String,Object)
See Also:   JemmyProperties.contains(String)



getResource
public String getResource(String key)(Code)
Returns resource value.
Parameters:
  key - Resource key. resource value



getResource
public String getResource(String bundleID, String key)(Code)
Returns resource value from the specified bundle.
Parameters:
  bundleID - Id of a bundle to get resource from.
Parameters:
  key - Resource key. resource value



getTimeout
public long getTimeout(String name)(Code)
Returns a timeouts value.
Parameters:
  name - Timeout name a timeout value
See Also:   JemmyProperties.setTimeout



getTimeouts
public Timeouts getTimeouts()(Code)
Returns timeouts. the Timeouts value.
See Also:   JemmyProperties.setTimeouts



getVersion
public static String getVersion()(Code)
Returns version string (like 1.0.1). a String representing the short version value.



init
public void init()(Code)
Inits properties and dispatching model from system environment variables.
See Also:   JemmyProperties.initProperties()
See Also:   JemmyProperties.initDispatchingModel()



initCurrentTimeout
public static long initCurrentTimeout(String name, long newValue)(Code)
Just like getProperties().getTimeouts().initTimeout(name, newValue).
Parameters:
  name - a timeout name
Parameters:
  newValue - a timeout value a timeout value
See Also:   JemmyProperties.setCurrentTimeout



initDispatchingModel
public void initDispatchingModel(boolean queue, boolean robot, boolean shortcut)(Code)
Initializes dispatching model.
Parameters:
  queue - Notifies that event queue dispatching should be used.
Parameters:
  robot - Notifies that robot dispatching should be used.
Parameters:
  shortcut - Notifies that event shorcutting should be used.



initDispatchingModel
public void initDispatchingModel(boolean queue, boolean robot, boolean shortcut, boolean smooth)(Code)
Initializes dispatching model.
Parameters:
  queue - Notifies that event queue dispatching should be used.
Parameters:
  robot - Notifies that robot dispatching should be used.
Parameters:
  shortcut - Notifies that event shorcutting should be used.



initDispatchingModel
public void initDispatchingModel(boolean queue, boolean robot)(Code)
Initializes dispatching model.
Parameters:
  queue - Notifies that event queue dispatching should be used.
Parameters:
  robot - Notifies that robot dispatching should be used.



initDispatchingModel
public void initDispatchingModel()(Code)
Initializes dispatching model. Uses "jemmy.queue_dispatching" and "jemmy.robot_dispatching" system properties to determine what model should be used. Possible values for the both properties:
"off" - switch mode off.
"on" - switch mode on.
"" - use default value.
See Also:   JemmyProperties.getDefaultDispatchingModel()



initProperties
public void initProperties(String prop_file)(Code)
Method to initialize timeouts and resources.
Parameters:
  prop_file - File to get filenames from.
Can contain definition of variables TIMEOUTS_FILE - full path to timeouts file,
RESOURCE_FILE - full path to resource file.
See Also:   org.netbeans.jemmy.JemmyProperties.initProperties



initProperties
public void initProperties()(Code)
Method to initialize timeouts and resources.
Uses jemmy.properties system property to find file.
See Also:   org.netbeans.jemmy.JemmyProperties.initProperties(String)



initTimeout
public long initTimeout(String name, long newValue)(Code)
Inits a timeouts value.
Parameters:
  name - Timeout name
Parameters:
  newValue - New timeout value a timeout value



main
public static void main(String[] argv)(Code)
Prints full version into satndart output.
Parameters:
  argv - Application args.



pop
public static JemmyProperties pop()(Code)
Pops last pushed properties from the properties stack. If stack has just one element, does nothing. Poped properties.



push
public static JemmyProperties push()(Code)
Creates a copy of the current JemmyProperties object and pushes it into the properties stack. New current properties.



push
protected static JemmyProperties push(JemmyProperties props)(Code)
Pushes properties stack.
Parameters:
  props - a JemmyProperties instance to put into the stack head. a JemmyProperties object.



removeCurrentProperty
public static Object removeCurrentProperty(String propertyName)(Code)
Removes a property from current properties list.
Parameters:
  propertyName - a property key. previous property value



removeProperty
public Object removeProperty(String name)(Code)
Removes the property.
Parameters:
  name - A name of the property to be removed. previous property value



setBundleManager
public BundleManager setBundleManager(BundleManager resources)(Code)
Changes bundle manager.
Parameters:
  resources - new bundle manager. old bundle manager
See Also:   JemmyProperties.getBundleManager



setCharBindingMap
public CharBindingMap setCharBindingMap(CharBindingMap map)(Code)
Changes char binding map.
Parameters:
  map - new char binding map. old char binding map.
See Also:   JemmyProperties.getCharBindingMap



setCurrentBundleManager
public static BundleManager setCurrentBundleManager(BundleManager resources)(Code)
Just like getProperties().setBundleManager(resources).
Parameters:
  resources - new BundleManager a BundleManager object representing the current bundle manager.
See Also:   JemmyProperties.getCurrentBundleManager



setCurrentCharBindingMap
public static CharBindingMap setCurrentCharBindingMap(CharBindingMap map)(Code)
Just like getProperties().setCharBindingMap(map).
Parameters:
  map - new CharBindingMap. old CharBindingMap object.
See Also:   JemmyProperties.getCurrentCharBindingMap



setCurrentDispatchingModel
public static int setCurrentDispatchingModel(int model)(Code)
Defines event dispatching model. If (model & ROBOT_MODEL_MASK) != 0 java.awt.Robot class is used to reproduce user actions, otherwise actions are reproduced by event posting. If (model & QUEUE_MODEL_MASK) != 0 actions are reproduced through event queue.
Parameters:
  model - New dispatching model value. Previous dispatching model value.
See Also:   JemmyProperties.setDispatchingModel(int)
See Also:   JemmyProperties.getCurrentDispatchingModel()
See Also:   JemmyProperties.QUEUE_MODEL_MASK
See Also:   JemmyProperties.ROBOT_MODEL_MASK
See Also:   JemmyProperties.initDispatchingModel(boolean,boolean)
See Also:   JemmyProperties.initDispatchingModel()



setCurrentDragAndDropStepLength
public static int setCurrentDragAndDropStepLength(int model)(Code)
Specifies the current drag and drop step length value.
Parameters:
  model - Pixel count to move mouse during one drag'n'drop step. Previous value.
See Also:   JemmyProperties.setDragAndDropStepLength(int)
See Also:   JemmyProperties.getCurrentDragAndDropStepLength()



setCurrentOutput
public static TestOut setCurrentOutput(TestOut out)(Code)
Just like getProperties().setOutput(out).
Parameters:
  out - new output a TestOut object representing the current output.
See Also:   JemmyProperties.getCurrentOutput



setCurrentProperty
public static Object setCurrentProperty(String propertyName, Object propertyValue)(Code)
Just like getProperties().setProperty(propertyName, propertyValue).
Parameters:
  propertyName - a property key
Parameters:
  propertyValue - a property value previous property value
See Also:   JemmyProperties.getCurrentProperty
See Also:   JemmyProperties.getCurrentTimeout



setCurrentTimeout
public static long setCurrentTimeout(String name, long newValue)(Code)
Just like getProperties().getTimeouts().setTimeout(name, newValue).
Parameters:
  name - a timeout name
Parameters:
  newValue - a timeout value previous timeout value
See Also:   JemmyProperties.getCurrentTimeout



setCurrentTimeouts
public static Timeouts setCurrentTimeouts(Timeouts to)(Code)
Just like getProperties().setTimeouts(to).
Parameters:
  to - New timeouts old timeouts.
See Also:   JemmyProperties.getCurrentTimeouts



setDispatchingModel
public int setDispatchingModel(int model)(Code)
Specifies the dispatching model value.
Parameters:
  model - New dispatching model value. Previous dispatching model value.
See Also:   JemmyProperties.setCurrentDispatchingModel(int)
See Also:   JemmyProperties.getDispatchingModel()
See Also:   JemmyProperties.QUEUE_MODEL_MASK
See Also:   JemmyProperties.ROBOT_MODEL_MASK



setDragAndDropStepLength
public int setDragAndDropStepLength(int length)(Code)
Specifies the drag and drop step length value.
Parameters:
  length - Pixel count to move mouse during one drag'n'drop step. Previous value.
See Also:   JemmyProperties.setCurrentDragAndDropStepLength(int)
See Also:   JemmyProperties.getDragAndDropStepLength()



setOutput
public TestOut setOutput(TestOut out)(Code)
Changes output.
Parameters:
  out - new output. old output.
See Also:   JemmyProperties.getOutput



setProperty
public Object setProperty(String name, Object newValue)(Code)
Saves object as a static link to be used by other objects.
Parameters:
  name - Property name. Should by unique.
Parameters:
  newValue - Property value. Previous value of "name" property.
See Also:   JemmyProperties.setCurrentProperty(String,Object)
See Also:   JemmyProperties.getProperty(String)
See Also:   JemmyProperties.contains(String)



setTimeout
public long setTimeout(String name, long newValue)(Code)
Changes a timeouts value.
Parameters:
  name - Timeout name
Parameters:
  newValue - New timeout value previous timeout value
See Also:   JemmyProperties.getTimeout



setTimeouts
public Timeouts setTimeouts(Timeouts to)(Code)
Changes timeouts.
Parameters:
  to - new timeouts. old timeouts.
See Also:   JemmyProperties.getTimeouts



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.