Methods Summary |
---|
void | copyTo(com.android.browser.BookmarkItem item)Copy this BookmarkItem to item.
item.mTextView.setText(mTextView.getText());
item.mUrlText.setText(mUrlText.getText());
item.mImageView.setImageDrawable(mImageView.getDrawable());
|
java.lang.String | getName()Return the name assigned to this bookmark item.
return mTextView.getText().toString();
|
android.widget.TextView | getNameTextView()Return the TextView which holds the name of this bookmark item.
return mTextView;
|
java.lang.String | getUrl()
return mUrl;
|
void | setFavicon(android.graphics.Bitmap b)Set the favicon for this item.
if (b != null) {
mImageView.setImageBitmap(b);
} else {
mImageView.setImageResource(R.drawable.app_web_browser_sm);
}
|
void | setName(java.lang.String name)Set the new name for the bookmark item.
mTextView.setText(name);
|
void | setUrl(java.lang.String url)Set the new url for the bookmark item.
mUrlText.setText(url);
mUrl = url;
|