+ private void click(boolean doubleClick) {
+ for (BookActionListener listener : listeners) {
+ if (doubleClick) {
+ listener.action(LocalReaderBook.this);
+ } else {
+ listener.select(LocalReaderBook.this);
+ }
+ }
+ }
+
+ private void popup(MouseEvent e) {
+ for (BookActionListener listener : listeners) {
+ listener.select((LocalReaderBook.this));
+ listener.popupRequested(LocalReaderBook.this, e);
+ }