Name: rmT116609 Date: 02/15/2001
JDK 1.3 documentation for class javax.swing.plaf.TextUI :
public abstract int viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical coordinate
space of the model. The biasReturn argument will be filled in to indicate that
the point given is closer to the next character in the model or the previous
character in the model.
Parameters:
x - the X coordinate >= 0
y - the Y coordinate >= 0
a - the allocated region to render into
Returns:
the location within the model that best represents the given point in the view
>= 0. The biasReturn argument will be filled in to indicate that the point
given is closer to the next character in the model or the previous character in
the model.
The parameters described in the parameters section are not parameters of the
function.
(Review ID: 117006)
======================================================================