01: package org.columba.api.gui.frame.event;
02:
03: import java.util.EventObject;
04:
05: import org.columba.api.gui.frame.IFrameMediator;
06:
07: public class FrameEvent extends EventObject {
08:
09: private String text;
10:
11: private boolean visible;
12:
13: private IFrameMediator mediator;
14:
15: public FrameEvent(Object source) {
16: super (source);
17: }
18:
19: public FrameEvent(Object source, IFrameMediator mediator) {
20: this (source);
21:
22: this .mediator = mediator;
23: }
24:
25: public FrameEvent(Object source, String text) {
26: this (source);
27:
28: this .text = text;
29: }
30:
31: public FrameEvent(Object source, boolean visible) {
32: this (source);
33:
34: this .visible = visible;
35: }
36:
37: public String getText() {
38: return text;
39: }
40:
41: public boolean isVisible() {
42: return visible;
43: }
44:
45: /**
46: * @return Returns the mediator.
47: */
48: public IFrameMediator getMediator() {
49: return mediator;
50: }
51:
52: }
|