|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ICommandMediator | |
---|---|
classes.container | |
classes.container.state | |
classes.shapes | |
classes.shapes.commands | |
interfaces |
Uses of ICommandMediator in classes.container |
---|
Methods in classes.container with parameters of type ICommandMediator | |
---|---|
static ShapeContainer |
ShapeContainerCreator.createContainer(ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates the ShapeContainer object and returns same object if it is already created (singleton). |
Constructors in classes.container with parameters of type ICommandMediator | |
---|---|
ShapeContainer(ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Initializes with shapecoordinates and mediator object |
Uses of ICommandMediator in classes.container.state |
---|
Methods in classes.container.state with parameters of type ICommandMediator | |
---|---|
static ShapeContainerEmptyState |
ShapeContainerEmptyState.getInstance(ICommandMediator commandMediator)
Creates the ShapeContainerFullState object and returns same object if it is already created (singleton). |
static ShapeContainerFullState |
ShapeContainerFullState.getInstance(ICommandMediator commandMediator)
Creates the ShapeContainerFullState object and returns same object if it is already created (singleton). |
static ShapeContainerPartialState |
ShapeContainerPartialState.getInstance(ICommandMediator commandMediator)
Creates the ShapeContainerFullState object and returns same object if it is already created (singleton). |
Uses of ICommandMediator in classes.shapes |
---|
Methods in classes.shapes with parameters of type ICommandMediator | |
---|---|
IShape |
ColorShapeFactory.getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates shapes with the combination of other objects (like Color) |
IShape |
BlueCircleFactory.getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates a blue circular shape (demonstrate Abstract Factory pattern) |
IShape |
RedRectangleFactory.getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates a red rectangular shape (demonstrate Abstract Factory pattern) |
IShape |
ShapeFactory.getShape(java.lang.String shapeName,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates the Shape object |
Constructors in classes.shapes with parameters of type ICommandMediator | |
---|---|
CircleShape(ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Initializes with the deafult shape coordinates and mediator object |
|
RectangleShape(ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Initializes with the deafult shape coordinates and mediator object |
|
TriangleShape(ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Initializes with the deafult shape coordinates and mediator object |
Uses of ICommandMediator in classes.shapes.commands |
---|
Classes in classes.shapes.commands that implement ICommandMediator | |
---|---|
class |
CommandContainer
Holds the Command objects sent from other objects |
Uses of ICommandMediator in interfaces |
---|
Fields in interfaces declared as ICommandMediator | |
---|---|
static ICommandMediator |
CommandColleague.commandMediator
Reference to the ICommandMediator class |
Methods in interfaces with parameters of type ICommandMediator | |
---|---|
IShape |
IShapeAbstractFactory.getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates shapes with the combination of other objects (like Color) |
IShape |
IShapeFactory.getShape(java.lang.String shapeName,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates shapes object |
Constructors in interfaces with parameters of type ICommandMediator | |
---|---|
CommandColleague(ICommandMediator commandMediator)
Constructor set the ICommandMediator type object |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |