org.xwiki.gwt.user.client.ui
Class MenuListenerCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<MenuListener>
              extended by org.xwiki.gwt.user.client.ui.MenuListenerCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<MenuListener>, java.util.Collection<MenuListener>, java.util.List<MenuListener>, java.util.RandomAccess

public class MenuListenerCollection
extends java.util.ArrayList<MenuListener>

A collection of MenuListeners. It provides an easy way of notifying all the listeners when a menu event is triggered.

Version:
$Id: MenuListenerCollection.java 24888 2009-11-06 02:16:19Z sdumitriu $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MenuListenerCollection()
           
 
Method Summary
 void fireMenuItemSelected(MenuItem menuItem)
          Notifies all the listeners in this collection.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

MenuListenerCollection

public MenuListenerCollection()
Method Detail

fireMenuItemSelected

public void fireMenuItemSelected(MenuItem menuItem)
Notifies all the listeners in this collection.

Parameters:
menuItem - the menu item which has been selected


Copyright © 2004-2010 XWiki. All Rights Reserved.