interfaces
Class CommandColleague

java.lang.Object
  extended by interfaces.CommandColleague
Direct Known Subclasses:
CircleShape, RectangleShape, ShapeContainer, ShapeContainerEmptyState, ShapeContainerFullState, ShapeContainerPartialState, TriangleShape

public abstract class CommandColleague
extends java.lang.Object

Abstract class for the colleague objects to interact with mediator.
Classes need to inhert this class to communicate with mediator class.

Version:
1.0, 25-Mar-07
Author:
Prathab, Mukesh
See Also:
ICommandMediator

Field Summary
static ICommandMediator commandMediator
          Reference to the ICommandMediator class
 
Constructor Summary
CommandColleague(ICommandMediator commandMediator)
          Constructor set the ICommandMediator type object
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandMediator

public static ICommandMediator commandMediator
Reference to the ICommandMediator class

Constructor Detail

CommandColleague

public CommandColleague(ICommandMediator commandMediator)
Constructor set the ICommandMediator type object

Parameters:
commandMediator - command mediator object that to be set