Package uk.ac.man.cs.mig.util.graph.event

Examples of uk.ac.man.cs.mig.util.graph.event.VisualisedObjectManagerEvent


   * @param list An <code>ArrayList</code> that contains
   * the objects that have been changed.
   */
  protected void fireObjectChangedEvent(ArrayList list)
  {
    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing object changed event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).objectsChanged(evt);
View Full Code Here


    list.add(object);

    list.add(parentObject);

    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing parent object added event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).parentObjectAdded(evt);
View Full Code Here

    list.add(object);

    list.add(parentObject);

    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing parent object removed event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).parentObjectRemoved(evt);
View Full Code Here

    list.add(object);

    list.add(childObject);

    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing child object added event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).childObjectAdded(evt);
View Full Code Here

    list.add(object);

    list.add(childObject);

    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing child object removed event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).childObjectRemoved(evt);
View Full Code Here

   * @param list An <code>ArrayList</code> that contains the objects
   * that have been added.
   */
  protected void fireObjectAddedEvent(ArrayList list)
  {
    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing object added event");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).objectsAdded(evt);
View Full Code Here

   * @param list An <code>ArrayList</code> that contains the objects
   * that have been removed.
   */
  protected void fireObjectRemovedEvent(ArrayList list)
  {
    VisualisedObjectManagerEvent evt = new VisualisedObjectManagerEvent(this, list);

    if(EVENTDEBUG)
    {
      System.out.println("TRACE(DefaultVisualisedObjectManager) firing object removed event.");

      System.out.println(evt.getObjects());
    }

    for(int i = 0; i < listeners.size(); i++)
    {
      ((VisualisedObjectManagerListener)listeners.get(i)).objectsRemoved(evt);
View Full Code Here

TOP

Related Classes of uk.ac.man.cs.mig.util.graph.event.VisualisedObjectManagerEvent

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.