1 16 17 package com.buchuki.ensmer.input.event.semantic; 18 19 import java.util.EventObject ; 20 21 29 public class FocusEvent extends EventObject { 30 31 41 public FocusEvent(Object source, Long focusedObject, boolean focusGained) { 42 super(source); 43 this. focusedObject = focusedObject; 44 this.focusGained = focusGained; 45 } 46 47 52 public Long getFocusedObject() { 53 return this.focusedObject; 54 } 55 56 61 public boolean gainedFocus() { 62 return focusGained; 63 } 64 67 private Long focusedObject; 68 69 72 private boolean focusGained; 73 } 74 | Popular Tags |