1 11 package org.eclipse.jface.viewers; 12 13 import java.util.EventObject ; 14 15 21 public class CheckStateChangedEvent extends EventObject { 22 23 27 private static final long serialVersionUID = 3256443603340244789L; 28 29 32 private Object element; 33 34 37 private boolean state; 38 39 46 public CheckStateChangedEvent(ICheckable source, Object element, 47 boolean state) { 48 super(source); 49 this.element = element; 50 this.state = state; 51 } 52 53 58 public ICheckable getCheckable() { 59 return (ICheckable) source; 60 } 61 62 67 public boolean getChecked() { 68 return state; 69 } 70 71 76 public Object getElement() { 77 return element; 78 } 79 } 80 | Popular Tags |