1 package org.wings.event; 2 3 import org.wings.SComponent; 4 import org.wings.SFrame; 5 6 10 public class SParentFrameEvent extends SComponentEvent { 11 14 public static final int PARENTFRAME_FIRST = 11100; 15 16 20 public static final int PARENTFRAME_ADDED = PARENTFRAME_FIRST; 21 22 26 public static final int PARENTFRAME_REMOVED = PARENTFRAME_FIRST + 1; 27 28 31 public static final int PARENTFRAME_LAST = PARENTFRAME_REMOVED; 32 33 36 private SFrame parentFrame; 37 38 39 public SParentFrameEvent(SComponent aSource, int anId, SFrame parentFrame) { 40 super(aSource, anId); 41 this.parentFrame = parentFrame; 42 } 44 45 48 public SFrame getParentFrame() { 49 return parentFrame; 50 } 51 52 } 53 | Popular Tags |