237 |
|
|
238 |
return span; |
return span; |
239 |
} |
} |
240 |
|
|
241 |
|
/** |
242 |
|
* Maps coordinates from the <code>View</code>'s space into a position |
243 |
|
* in the document model. |
244 |
|
* |
245 |
|
* @param x the x coordinate in the view space |
246 |
|
* @param y the y coordinate in the view space |
247 |
|
* @param a the allocation of this <code>View</code> |
248 |
|
* @param b the bias to use |
249 |
|
* |
250 |
|
* @return the position in the document that corresponds to the screen |
251 |
|
* coordinates <code>x, y</code> |
252 |
|
*/ |
253 |
|
public int viewToModel(float x, float y, Shape a, Position.Bias b) |
254 |
|
{ |
255 |
|
// FIXME: Implement this properly. |
256 |
|
return 0; |
257 |
|
} |
258 |
} |
} |
259 |
|
|