public ItemEvent(ItemSelectable source, int id, Object item, int stateChange) : base(source, id) { this.item = item; this.stateChange = stateChange; }
/// <summary> /// Constructs an <code>ItemEvent</code> object. /// <para> This method throws an /// <code>IllegalArgumentException</code> if <code>source</code> /// is <code>null</code>. /// /// </para> /// </summary> /// <param name="source"> The <code>ItemSelectable</code> object /// that originated the event </param> /// <param name="id"> The integer that identifies the event type. /// For information on allowable values, see /// the class description for <seealso cref="ItemEvent"/> </param> /// <param name="item"> An object -- the item affected by the event </param> /// <param name="stateChange"> An integer that indicates whether the item was /// selected or deselected. /// For information on allowable values, see /// the class description for <seealso cref="ItemEvent"/> </param> /// <exception cref="IllegalArgumentException"> if <code>source</code> is null </exception> /// <seealso cref= #getItemSelectable() </seealso> /// <seealso cref= #getID() </seealso> /// <seealso cref= #getStateChange() </seealso> public ItemEvent(ItemSelectable source, int id, Object item, int stateChange) : base(source, id) { this.Item_Renamed = item; this.StateChange_Renamed = stateChange; }
public ItemEvent(ItemSelectable source, int id, Object item, int stateChange) : base(source, id) { this.item = item; this.stateChange = stateChange; }