/** * {@inheritDoc} */ @Override public void addDateSelectionListener(DateSelectionListener l) { listenerMap.add(DateSelectionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent when a selection has * been made. * * @param l The ActionListener that is to be notified */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent when a selection has * been made. * * @param l The ActionListener that is to be notified */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds a PopupMenuListener.<p> * * PENDING JW: the canceled method is never called due to internal * interference in BasicDatePickerUI. Probably need to re-visit that. * * @param l the PopupMenuListener to add. */ public void addPopupMenuListener(PopupMenuListener l) { listenerMap.add(PopupMenuListener.class, l); }
/** * {@inheritDoc} */ public void addDateSelectionListener(DateSelectionListener l) { listenerMap.add(DateSelectionListener.class, l); }
/** * {@inheritDoc} */ @Override public void addDateSelectionListener(DateSelectionListener l) { listenerMap.add(DateSelectionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent when a selection has * been made. * * @param l The ActionListener that is to be notified */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent when a selection has * been made. * * @param l The ActionListener that is to be notified */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * {@inheritDoc} */ @Override public void addDateSelectionListener(DateSelectionListener l) { listenerMap.add(DateSelectionListener.class, l); }
/** * Adds a PopupMenuListener.<p> * * PENDING JW: the canceled method is never called due to internal * interference in BasicDatePickerUI. Probably need to re-visit that. * * @param l the PopupMenuListener to add. */ public void addPopupMenuListener(PopupMenuListener l) { listenerMap.add(PopupMenuListener.class, l); }
/** * Adds a PopupMenuListener.<p> * * PENDING JW: the canceled method is never called due to internal * interference in BasicDatePickerUI. Probably need to re-visit that. * * @param l the PopupMenuListener to add. */ public void addPopupMenuListener(PopupMenuListener l) { listenerMap.add(PopupMenuListener.class, l); }
/** * {@inheritDoc} */ @Override public void addDateSelectionListener(DateSelectionListener l) { listenerMap.add(DateSelectionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent when a selection has * been made. * * @param l The ActionListener that is to be notified */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds a PopupMenuListener.<p> * * PENDING JW: the canceled method is never called due to internal * interference in BasicDatePickerUI. Probably need to re-visit that. * * @param l the PopupMenuListener to add. */ public void addPopupMenuListener(PopupMenuListener l) { listenerMap.add(PopupMenuListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent with its actionCommand * set to COMMIT_KEY or CANCEL_KEY after the selection has been committed * or canceled, respectively. * <p> * * Note that actionEvents are typically fired after a dedicated user gesture * to end an ongoing selectin (like ENTER, ESCAPE) or after explicit programmatic * commits/cancels. It is usually not fired after each change to the selection state. * Client code which wants to be notified about all selection changes should * register a DateSelectionListener to the DateSelectionModel. * * @param l The ActionListener that is to be notified * * @see #commitSelection() * @see #cancelSelection() * @see #getSelectionModel() */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent with its actionCommand * set to COMMIT_KEY or CANCEL_KEY after the selection has been committed * or canceled, respectively. * <p> * * Note that actionEvents are typically fired after a dedicated user gesture * to end an ongoing selectin (like ENTER, ESCAPE) or after explicit programmatic * commits/cancels. It is usually not fired after each change to the selection state. * Client code which wants to be notified about all selection changes should * register a DateSelectionListener to the DateSelectionModel. * * @param l The ActionListener that is to be notified * * @see #commitSelection() * @see #cancelSelection() * @see #getSelectionModel() */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent with its actionCommand * set to COMMIT_KEY or CANCEL_KEY after the selection has been committed * or canceled, respectively. * <p> * * Note that actionEvents are typically fired after a dedicated user gesture * to end an ongoing selectin (like ENTER, ESCAPE) or after explicit programmatic * commits/cancels. It is usually not fired after each change to the selection state. * Client code which wants to be notified about all selection changes should * register a DateSelectionListener to the DateSelectionModel. * * @param l The ActionListener that is to be notified * * @see #commitSelection() * @see #cancelSelection() * @see #getSelectionModel() */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent with its actionCommand * set to COMMIT_KEY or CANCEL_KEY after the selection has been committed * or canceled, respectively. * <p> * * Note that actionEvents are typically fired after a dedicated user gesture * to end an ongoing selectin (like ENTER, ESCAPE) or after explicit programmatic * commits/cancels. It is usually not fired after each change to the selection state. * Client code which wants to be notified about all selection changes should * register a DateSelectionListener to the DateSelectionModel. * * @param l The ActionListener that is to be notified * * @see #commitSelection() * @see #cancelSelection() * @see #getSelectionModel() */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }
/** * Adds an ActionListener. * <p/> * The ActionListener will receive an ActionEvent with its actionCommand * set to COMMIT_KEY or CANCEL_KEY after the selection has been committed * or canceled, respectively. * <p> * * Note that actionEvents are typically fired after a dedicated user gesture * to end an ongoing selectin (like ENTER, ESCAPE) or after explicit programmatic * commits/cancels. It is usually not fired after each change to the selection state. * Client code which wants to be notified about all selection changes should * register a DateSelectionListener to the DateSelectionModel. * * @param l The ActionListener that is to be notified * * @see #commitSelection() * @see #cancelSelection() * @see #getSelectionModel() */ public void addActionListener(ActionListener l) { listenerMap.add(ActionListener.class, l); }