KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > selection > SelectionChangeEvent


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.selection;
14
15 import java.util.EventObject JavaDoc;
16
17 import com.tonbeller.wcf.controller.RequestContext;
18 public class SelectionChangeEvent extends EventObject JavaDoc {
19   RequestContext context;
20   public SelectionChangeEvent(RequestContext context, SelectionModel source) {
21     super(source);
22     this.context = context;
23   }
24   
25   public SelectionModel getSelectionModel() {
26     return (SelectionModel)getSource();
27   }
28
29   public RequestContext getContext() {
30     return context;
31   }
32
33 }
34
Popular Tags