private void installListeners() { if (this.window != null) { this.windowListener = createWindowListener(); this.window.addWindowListener(this.windowListener); this.propertyChangeListener = createWindowPropertyChangeListener(); this.window.addPropertyChangeListener(this.propertyChangeListener); } }
/// <summary> /// Adds the specified window listener to receive window events from /// this window. /// </summary> public void addWindowListener(WindowListener @l) { }
/// <summary> /// Removes the specified window listener so that it no longer /// receives window events from this window. /// </summary> public void removeWindowListener(WindowListener @l) { }
/// <summary> /// Removes the old window-listener from window-listener-l and /// returns the resulting multicast listener. </summary> /// <param name="l"> window-listener-l </param> /// <param name="oldl"> the window-listener being removed </param> public static WindowListener Remove(WindowListener l, WindowListener oldl) { return((WindowListener)RemoveInternal(l, oldl)); }
/// <summary> /// Adds window-listener-a with window-listener-b and /// returns the resulting multicast listener. </summary> /// <param name="a"> window-listener-a </param> /// <param name="b"> window-listener-b </param> public static WindowListener Add(WindowListener a, WindowListener b) { return((WindowListener)AddInternal(a, b)); }