GridSim 5.0 beta

gridsim.parallel.gui
Interface Visualizer

All Known Implementing Classes:
AbstractVisualizer, ParallelVisualizer, VisualizerAdaptor

public interface Visualizer

Interface implemented by a visualisation tool.

Since:
5.0
Author:
Marcos Dias de Assuncao

Method Summary
 void notifyListeners(AllocationAction action)
          Notifies a listener about the action performed
 void notifyListeners(int subjectId, ActionType actionType, boolean shouldPause)
          Notifies the listeners about the action performed
 void notifyListeners(int subjectId, ActionType actionType, boolean pause, LinkedList<ScheduleItem> itemList)
          Notifies the listener about the action performed
 void notifyListeners(int subjectId, ActionType actionType, boolean pause, ScheduleItem item)
          Notifies the listeners about the action performed
 

Method Detail

notifyListeners

void notifyListeners(int subjectId,
                     ActionType actionType,
                     boolean pause,
                     LinkedList<ScheduleItem> itemList)
Notifies the listener about the action performed

Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
pause - indicates whether the simulation should be paused after notifying the listeners. true indicates that it should pause and false means that it should not.
itemList - the list of schedule items to provide to the listeners
See Also:
ActionType

notifyListeners

void notifyListeners(int subjectId,
                     ActionType actionType,
                     boolean pause,
                     ScheduleItem item)
Notifies the listeners about the action performed

Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
pause - indicates whether the simulation should be paused after notifying the listeners. true indicates that it should pause and false means that it should not.
item - the schedule item to provide to the listeners
See Also:
ActionType

notifyListeners

void notifyListeners(int subjectId,
                     ActionType actionType,
                     boolean shouldPause)
Notifies the listeners about the action performed

Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
shouldPause - indicates whether the simulation should be paused after notifying the listeners. true indicates that it should pause and false means that it should not.
See Also:
ActionType

notifyListeners

void notifyListeners(AllocationAction action)
Notifies a listener about the action performed

Parameters:
action - the action performed
See Also:
ActionType

GridSim 5.0 beta

The University of Melbourne, Australia, 2009