| 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.
|
Yoix is a registered trademark of AT&T Inc.
|