View Javadoc

1   package org.robsite.extension.rss.model;
2   import java.util.EventObject;
3   
4   public final class ChannelEvent extends EventObject
5   {
6     private final int m_itemIndex;
7   
8     public ChannelEvent( Channel source )
9     {
10      this( source, -1 );
11    }
12    
13    public ChannelEvent( Channel source, int index )
14    {
15      super( source );
16      m_itemIndex = index;
17    }
18    
19    public int getItemIndex()
20    {
21      return m_itemIndex;
22    }
23    
24    
25  }