4 * Created on 30. Juli 2002, 12:36
10 * An own implementation of a XWindowListener
13 public class WindowListener
implements com
.sun
.star
.awt
.XWindowListener
{
16 public boolean hiddenTrigger
;
18 public boolean movedTrigger
;
20 public boolean resizedTrigger
;
22 public boolean shownTrigger
;
24 public boolean disposeTrigger
;
27 * Creates a new WindowListener
29 public WindowListener() {
34 * The window hidden event
36 public void windowHidden(com
.sun
.star
.lang
.EventObject eventObject
) {
41 * The window move event
43 public void windowMoved(com
.sun
.star
.awt
.WindowEvent windowEvent
) {
48 * The window resize event
50 public void windowResized(com
.sun
.star
.awt
.WindowEvent windowEvent
) {
51 resizedTrigger
= true;
55 * The window show event
57 public void windowShown(com
.sun
.star
.lang
.EventObject eventObject
) {
64 public void disposing(com
.sun
.star
.lang
.EventObject eventObject
) {
65 disposeTrigger
= true;
69 * Reset all triggers to "not fired".
71 public void resetTrigger() {
72 hiddenTrigger
= false;
74 resizedTrigger
= false;
76 disposeTrigger
= false;