01: package org.columba.mail.gui.composer;
02:
03: import java.util.EventObject;
04:
05: public class ComposerModelChangedEvent extends EventObject {
06:
07: private boolean htmlEnabled;
08:
09: public ComposerModelChangedEvent(ComposerModel model) {
10: super (model);
11: }
12:
13: public ComposerModelChangedEvent(ComposerModel model,
14: boolean htmlEnabled) {
15: this (model);
16:
17: this .htmlEnabled = htmlEnabled;
18: }
19:
20: public ComposerModel getModel() {
21: return (ComposerModel) getSource();
22: }
23:
24: public boolean isHtmlEnabled() {
25: return htmlEnabled;
26: }
27:
28: }
|