AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
getLocationInRoot (Object comp) yoix.awt
 
Returns a Point that represents the location of comp, which should be an AWT or Swing component, relative to its root in a coordinate system that has its origin in the upper left corner of root positive x to the right, positive y down, and a resolution of 72 dots per inch. getLocationInRoot returns NULL when comp has a NULL root or when comp is a top-level application window, like a Frame or Dialog.
 
 Return:   Point
 
 See Also:   getLocationOnScreen

 

Yoix is a registered trademark of AT&T Inc.