コード例 #1
0
 /**
  * Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
  *
  * @param e the focus event
  */
 public void focusLost(FocusEvent e) {
   ((FocusListener) a).focusLost(e);
   ((FocusListener) b).focusLost(e);
 }
コード例 #2
0
ファイル: EditNodeBase.java プロジェクト: ppires/freemind-spl
 public void closeEdit() {
   if (textFieldListener != null) {
     textFieldListener.focusLost(null); // hack to close the edit
   }
 }
コード例 #3
0
 /**
  * Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
  *
  * @param e the focus event
  */
 public void focusGained(FocusEvent e) {
   ((FocusListener) a).focusGained(e);
   ((FocusListener) b).focusGained(e);
 }