1 23 24 package org.enhydra.kelp.common.event; 25 26 import javax.swing.DefaultListModel ; 27 import java.util.EventObject ; 28 29 30 public class SelectionPanelEvent extends EventObject { 31 private DefaultListModel available = null; 32 private DefaultListModel selected = null; 33 34 public SelectionPanelEvent(Object source, DefaultListModel a, DefaultListModel s) { 35 super(source); 36 this.available = a; 37 this.selected = s; 38 } 39 40 public DefaultListModel getAvailable() { 41 return available; 42 } 43 44 public DefaultListModel getSelected() { 45 return selected; 46 } 47 48 } 49 | Popular Tags |