| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IShape | |
|---|---|
| classes.container | |
| classes.container.state | |
| classes.main | |
| classes.shapes | |
| classes.shapes.decorators | |
| interfaces | |
| Uses of IShape in classes.container | 
|---|
| Fields in classes.container declared as IShape | |
|---|---|
 IShape[] | 
ShapeContainer.shapeList
 | 
| Methods in classes.container that return IShape | |
|---|---|
 IShape | 
ShapeContainer.getShape(int index)
Returns the shape object for the given index  | 
| Methods in classes.container with parameters of type IShape | |
|---|---|
 boolean | 
ShapeContainerContext.addShape(IShape shape)
Adds the given shape to the container based on the state of the coantiner.  | 
 boolean | 
ShapeContainer.addShape(IShape shape)
Adds the given shape object to container  | 
 boolean | 
ShapeContainerContext.removeShape(IShape shape)
Removes the given shape from the container based on the state of the coantiner.  | 
 boolean | 
ShapeContainer.removeShape(IShape shape)
Removes the given shape from the container  | 
| Uses of IShape in classes.container.state | 
|---|
| Methods in classes.container.state with parameters of type IShape | |
|---|---|
 boolean | 
ShapeContainerEmptyState.addShape(ShapeContainerContext shapeContainerContext,
         IShape shape)
Adds the given shape to container based on the partial filled state  | 
 boolean | 
ShapeContainerFullState.addShape(ShapeContainerContext shapeContainerContext,
         IShape shape)
Adds the given shape to container based on the partial filled state  | 
 boolean | 
ShapeContainerPartialState.addShape(ShapeContainerContext shapeContainerContext,
         IShape shape)
Adds the given shape to container based on the partial filled state  | 
 boolean | 
ShapeContainerEmptyState.removeShape(ShapeContainerContext shapeContainerContext,
            IShape shape)
Removes the given shape from the container based on the partial filled state  | 
 boolean | 
ShapeContainerFullState.removeShape(ShapeContainerContext shapeContainerContext,
            IShape shape)
Removes the given shape from the container based on the partial filled state  | 
 boolean | 
ShapeContainerPartialState.removeShape(ShapeContainerContext shapeContainerContext,
            IShape shape)
Removes the given shape from the container based on the partial filled state  | 
| Uses of IShape in classes.main | 
|---|
| Methods in classes.main that return IShape | |
|---|---|
 IShape | 
MainApplet.getSelectedShape()
Gets the user selected shape option  | 
 IShape | 
Memento.getState()
Returns the previous state (undo operation)  | 
| Methods in classes.main with parameters of type IShape | |
|---|---|
 void | 
Memento.setState(IShape lastCreatedShape)
Set the current buffer state  | 
| Uses of IShape in classes.shapes | 
|---|
| Classes in classes.shapes that implement IShape | |
|---|---|
 class | 
CircleShape
Class for circle shape objects  | 
 class | 
RectangleShape
Class for rectangle shape objects  | 
 class | 
TriangleShape
Class for trianlge shape objects  | 
| Methods in classes.shapes that return IShape | |
|---|---|
 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  | 
| Uses of IShape in classes.shapes.decorators | 
|---|
| Classes in classes.shapes.decorators that implement IShape | |
|---|---|
 class | 
ColorDecorator
Decorates the shape with color  | 
| Constructors in classes.shapes.decorators with parameters of type IShape | |
|---|---|
ColorDecorator(IShape shape,
               java.awt.Color color)
 | 
|
| Uses of IShape in interfaces | 
|---|
| Classes in interfaces that implement IShape | |
|---|---|
 class | 
ShapeDecorator
Decorates the IShape object  | 
| Fields in interfaces declared as IShape | |
|---|---|
 IShape | 
ShapeDecorator.shape
 | 
| Methods in interfaces that return IShape | |
|---|---|
 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 | 
IShapeContainer.getShape(int index)
Returns the shape object for the given index  | 
 IShape | 
IShapeFactory.getShape(java.lang.String shapeName,
         ShapeCoordinates shapeCoordinates,
         ICommandMediator commandMediator)
Creates shapes object  | 
| Methods in interfaces with parameters of type IShape | |
|---|---|
 boolean | 
IShapeContainer.addShape(IShape shape)
Adds the given shape object to container  | 
 boolean | 
IShapeContainerState.addShape(ShapeContainerContext shapeContainerContext,
         IShape shape)
Adds the given shape to container based on its context  | 
 boolean | 
IShapeContainer.removeShape(IShape shape)
Removes the given shape from the container  | 
 boolean | 
IShapeContainerState.removeShape(ShapeContainerContext shapeContainerContext,
            IShape shape)
Removes the given shape from container based on its context  | 
| Constructors in interfaces with parameters of type IShape | |
|---|---|
ShapeDecorator(IShape shape)
 | 
|
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||