A B C D E G H I J L M N O P R S T V W X Y

S

sendCommand(Command, boolean) - Method in class classes.shapes.commands.CommandContainer
Stores the commands in the list
sendCommand(Command) - Method in class classes.shapes.commands.CommandContainer
Stores the commands in a temporary list
sendCommand(Command, boolean) - Method in interface interfaces.ICommandMediator
Sends the command to the mediator object
sendCommand(Command) - Method in interface interfaces.ICommandMediator
Sends the command to the mediator object
setAsPermanentShape(boolean) - Method in class classes.shapes.CircleShape
Sets whether the shape is permanent or tempory with respect to drawing
setAsPermanentShape(boolean) - Method in class classes.shapes.RectangleShape
Sets whether the shape is permanent or tempory with respect to drawing
setAsPermanentShape(boolean) - Method in class classes.shapes.TriangleShape
Sets whether the shape is permanent or tempory with respect to drawing
setAsPermanentShape(boolean) - Method in interface interfaces.IShape
To set the shape is permenant throught the application lifecycle
setAsPermanentShape(boolean) - Method in class interfaces.ShapeDecorator
Sets whether the shape is permanent or tempory with respect to drawing
setColor(Color) - Method in class classes.shapes.CircleShape
Sets the color attribute for the shape
setColor(Color) - Method in class classes.shapes.RectangleShape
Sets the color attribute for the shape
setColor(Color) - Method in class classes.shapes.TriangleShape
Sets the color attribute for the shape
setColor(Color) - Method in interface interfaces.IShape
Set the color for the shape
setColor(Color) - Method in class interfaces.ShapeDecorator
Sets the color attribute for the shape
setCommandObject(Command) - Method in class classes.shapes.CircleShape
Set the Command object which contains the commands to draw the shape
setCommandObject(Command) - Method in class classes.shapes.commands.ShapeGraphicsDrawer
Sets the Command object
setCommandObject(Command) - Method in class classes.shapes.RectangleShape
Set the Command object which contains the commands to draw the shape
setCommandObject(Command) - Method in class classes.shapes.TriangleShape
Set the Command object which contains the commands to draw the shape
setCommandObject(Command) - Method in interface interfaces.IShapeDrawer
Set the Command object which contains the commands to draw the shape
setCommandObject(Command) - Method in class interfaces.ShapeDecorator
Set the Command object which contains the commands to draw the shape
setGraphicsObject(Graphics) - Method in class classes.shapes.CircleShape
Set the Graphics object which is responsible to draw the graphics
setGraphicsObject(Graphics) - Method in class classes.shapes.commands.ShapeGraphicsDrawer
Sets the Graphics object
setGraphicsObject(Graphics) - Method in class classes.shapes.RectangleShape
Set the Graphics object which is responsible to draw the graphics
setGraphicsObject(Graphics) - Method in class classes.shapes.TriangleShape
Set the Graphics object which is responsible to draw the graphics
setGraphicsObject(Graphics) - Method in interface interfaces.IShapeDrawer
Set the Graphics object which is responsible to draw the graphics
setGraphicsObject(Graphics) - Method in class interfaces.ShapeDecorator
Set the Graphics object which is responsible to draw the graphics
setObjectList(ArrayList) - Method in class classes.shapes.commands.CommandContainer
Sets the object list with command list
setState(IShape) - Method in class classes.main.Memento
Set the current buffer state
shape - Variable in class interfaces.ShapeDecorator
 
ShapeContainer - Class in classes.container
Holds the Shape class object
ShapeContainer(ShapeCoordinates, ICommandMediator) - Constructor for class classes.container.ShapeContainer
Initializes with shapecoordinates and mediator object
shapeContainer - Variable in class classes.container.ShapeContainerContext
 
ShapeContainerContext - Class in classes.container
Performs the operations based on the state of the container
ShapeContainerContext(ShapeContainer, IShapeContainerState) - Constructor for class classes.container.ShapeContainerContext
Initialize with the container and current state object
ShapeContainerCreator - Class in classes.container
Singleton class to create the shape container
ShapeContainerEmptyState - Class in classes.container.state
Performs the operations based on the empty state of the container
ShapeContainerFullState - Class in classes.container.state
Performs the operations based on the full state of the container
ShapeContainerPartialState - Class in classes.container.state
Performs the operations based on the partial state of the container
shapeContainerState - Variable in class classes.container.ShapeContainerContext
 
shapeCoordinates - Variable in class classes.container.ShapeContainer
 
shapeCoordinates - Variable in class classes.shapes.CircleShape
 
shapeCoordinates - Variable in class classes.shapes.RectangleShape
 
shapeCoordinates - Variable in class classes.shapes.TriangleShape
 
ShapeCoordinates - Class in types
Contains the information of the coordinates regarding the shape
ShapeCoordinates(int, int) - Constructor for class types.ShapeCoordinates
 
ShapeCoordinates(int, int, int, int) - Constructor for class types.ShapeCoordinates
 
ShapeCoordinates(int, int, int[], int[]) - Constructor for class types.ShapeCoordinates
 
ShapeCoordinates(int, int, int, int, int[], int[]) - Constructor for class types.ShapeCoordinates
 
ShapeDecorator - Class in interfaces
Decorates the IShape object
ShapeDecorator(IShape) - Constructor for class interfaces.ShapeDecorator
 
ShapeDrawCommands - Class in classes.shapes.commands
Encapsulates the shape drawing commands and uses IShapeDrawer to draw the shapes.
Also act as the real object to draw the shapes.
ShapeDrawCommands(IShapeDrawer) - Constructor for class classes.shapes.commands.ShapeDrawCommands
 
ShapeFactory - Class in classes.shapes
Factory class for the shape objects
ShapeFactory() - Constructor for class classes.shapes.ShapeFactory
 
ShapeGraphicsDrawer - Class in classes.shapes.commands
Draws the shapes based on the Command objects using Graphics package
ShapeGraphicsDrawer() - Constructor for class classes.shapes.commands.ShapeGraphicsDrawer
 
shapeList - Variable in class classes.container.ShapeContainer
 
shapeObjectsCount - Variable in class classes.container.ShapeContainerContext
 
ShapeVisitor - Class in classes.shapes.decorators
Implements visit operation declared by IShapeVisitor.
ShapeVisitor() - Constructor for class classes.shapes.decorators.ShapeVisitor
 

A B C D E G H I J L M N O P R S T V W X Y