public class BookmarkItem extends ItemWrapper implements java.lang.Comparable<BookmarkItem>
Constructor and Description |
---|
BookmarkItem(Bookmark bookmark) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowedToRemove() |
int |
compareTo(BookmarkItem o) |
protected void |
doUpdateDetailView(DetailView panel,
boolean editorOnly) |
java.lang.String |
footerText() |
Bookmark |
getBookmark() |
void |
removed(Project project) |
void |
setupRenderer(ColoredListCellRenderer renderer,
Project project,
boolean selected) |
void |
setupRenderer(ColoredTreeCellRenderer renderer,
Project project,
boolean selected) |
static void |
setupRenderer(SimpleColoredComponent renderer,
Project project,
Bookmark bookmark,
boolean selected) |
java.lang.String |
speedSearchText() |
void |
updateAccessoryView(javax.swing.JComponent component) |
updateDetailView
public BookmarkItem(Bookmark bookmark)
public Bookmark getBookmark()
public void setupRenderer(ColoredListCellRenderer renderer, Project project, boolean selected)
setupRenderer
in class ItemWrapper
public static void setupRenderer(SimpleColoredComponent renderer, Project project, Bookmark bookmark, boolean selected)
public void setupRenderer(ColoredTreeCellRenderer renderer, Project project, boolean selected)
setupRenderer
in class ItemWrapper
public void updateAccessoryView(javax.swing.JComponent component)
updateAccessoryView
in class ItemWrapper
public java.lang.String speedSearchText()
speedSearchText
in class ItemWrapper
public java.lang.String footerText()
footerText
in class ItemWrapper
protected void doUpdateDetailView(DetailView panel, boolean editorOnly)
doUpdateDetailView
in class ItemWrapper
public boolean allowedToRemove()
allowedToRemove
in class ItemWrapper
public void removed(Project project)
removed
in class ItemWrapper
public int compareTo(BookmarkItem o)
compareTo
in interface java.lang.Comparable<BookmarkItem>