return ((View) view).modelToView(position, a, bias);
return view.modelToView(position, a, bias);
    public Shape modelToView(int position, Shape a, Position.Bias bias)      throws BadLocationException    {      return ((View) view).modelToView(position, a, bias);    }