public class DefaultBookmarksController<T> extends DefaultActionListenerSupport implements BookmarksController<T>
Modifier and Type | Class and Description |
---|---|
static class |
DefaultBookmarksController.BookmarkEventImpl<T> |
BookmarksController.BookmarkEvent<T>
Modifier and Type | Field and Description |
---|---|
Bookmarks<T> |
bookmarks |
listeners
Constructor and Description |
---|
DefaultBookmarksController(Bookmarks<T> bookmarks,
javax.swing.JButton btnBookmarks) |
Modifier and Type | Method and Description |
---|---|
void |
addMenuItem(javax.swing.JComponent menuItem) |
javax.swing.JMenu |
createMenu() |
Bookmarks<T> |
get() |
static void |
selfRegister() |
void |
setAllowAddBookmarks(java.lang.Boolean allowAddBookmarks) |
void |
setFilter(java.util.function.Predicate filter) |
addActionListener, fireActionEvent, getActionListeners, hasActionListeners, removeActionListener, removeAllActionListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, fireActionEvent, getActionListeners, hasActionListeners, removeActionListener, removeAllActionListener
public static void selfRegister()
public javax.swing.JMenu createMenu()
createMenu
in interface BookmarksController<T>
public void setFilter(java.util.function.Predicate filter)
setFilter
in interface BookmarksController<T>
public void setAllowAddBookmarks(java.lang.Boolean allowAddBookmarks)
setAllowAddBookmarks
in interface BookmarksController<T>
public Bookmarks<T> get()
get
in interface BookmarksController<T>
public void addMenuItem(javax.swing.JComponent menuItem)
addMenuItem
in interface BookmarksController<T>