Package cl.niclabs.skandium.system.events

Examples of cl.niclabs.skandium.system.events.GenericListenerRegistry


     * (i.e. All {@link Where#CONDITION} related events)
     * @return true if listener <code>l</code> has been registered successfully, false otherwise
     */
    @SuppressWarnings("rawtypes")
  public boolean addGeneric(GenericListener l, Class pattern, When when, Where where) {
      GenericListenerRegistry gres = new GenericListenerRegistry(false, pattern, when, where, l);
      this.accept(gres);
      return gres.getR();
    }
View Full Code Here


     * of {@link Where} enumeration, the listener related to that value is removed.
     * @return true if listener <code>l</code> has been removed successfully, false otherwise
     */
    @SuppressWarnings("rawtypes")
  public boolean removeGeneric(GenericListener l, Class pattern, When when, Where where) {
      GenericListenerRegistry gres = new GenericListenerRegistry(true, pattern, when, where, l);
      this.accept(gres);
      return gres.getR();
    }
View Full Code Here

TOP

Related Classes of cl.niclabs.skandium.system.events.GenericListenerRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.