GridSim 5.0 beta

gridsim.parallel.gui
Class VisualizerAdaptor

Object
  extended by VisualizerAdaptor
All Implemented Interfaces:
Visualizer

public class VisualizerAdaptor
extends Object
implements Visualizer

Adaptor that implements Visualizer interface, but contains empty methods.

Since:
5.0
Author:
Marcos Dias de Assuncao
See Also:
Visualizer

Constructor Summary
VisualizerAdaptor()
           
 
Method Summary
 void notifyListeners(AllocationAction action)
          Notifies a listener about the action performed
NOTE: As this class is an adaptor, this method is empty.
 void notifyListeners(int subjectId, ActionType actionType, boolean pause)
          Notifies the listeners about the action performed
NOTE: As this class is an adaptor, this method is empty.
 void notifyListeners(int subjectId, ActionType actionType, boolean pause, LinkedList<ScheduleItem> itemList)
          Notifies the listener about the action performed
NOTE: As this class is an adaptor, this method is empty.
 void notifyListeners(int subjectId, ActionType actionType, boolean pause, ScheduleItem item)
          Notifies the listeners about the action performed
NOTE: As this class is an adaptor, this method is empty.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualizerAdaptor

public VisualizerAdaptor()
Method Detail

notifyListeners

public void notifyListeners(int subjectId,
                            ActionType actionType,
                            boolean pause,
                            LinkedList<ScheduleItem> itemList)
Notifies the listener about the action performed
NOTE: As this class is an adaptor, this method is empty.

Specified by:
notifyListeners in interface Visualizer
Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
pause - whether the simulation should be paused
itemList - the list of schedule items to provide to the listeners
See Also:
ActionType

notifyListeners

public void notifyListeners(int subjectId,
                            ActionType actionType,
                            boolean pause,
                            ScheduleItem item)
Notifies the listeners about the action performed
NOTE: As this class is an adaptor, this method is empty.

Specified by:
notifyListeners in interface Visualizer
Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
pause - whether the simulation should be paused
item - the schedule item to provide to the listeners
See Also:
ActionType

notifyListeners

public void notifyListeners(int subjectId,
                            ActionType actionType,
                            boolean pause)
Notifies the listeners about the action performed
NOTE: As this class is an adaptor, this method is empty.

Specified by:
notifyListeners in interface Visualizer
Parameters:
subjectId - the subject, or entity, that created the action
actionType - the action performed
pause - whether the simulation should be paused
See Also:
ActionType

notifyListeners

public void notifyListeners(AllocationAction action)
Notifies a listener about the action performed
NOTE: As this class is an adaptor, this method is empty.

Specified by:
notifyListeners in interface Visualizer
Parameters:
action - the action performed
See Also:
ActionType

GridSim 5.0 beta

The University of Melbourne, Australia, 2009