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
getViewportSize (Object comp) yoix.swing
 
Returns a Dimension that is the size of the viewport of scroller that the Yoix interpreter automatically attached to the Swing component comp or NULL if there is no attached scroller. Right now JList, JTable, JTextArea, and JTextPane are the only Swing components with automatically attached scrollers that can be measured by getViewportSize.
 
 Return:   Dimension
 
 See Also:   getScrollerSize, JList, JTable, JTextArea, JTextPane

 

Yoix is a registered trademark of AT&T Inc.