All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.figures.InsertImageCommand

java.lang.Object
   |
   +----CH.ifa.draw.util.Command
           |
           +----CH.ifa.draw.figures.InsertImageCommand

public class InsertImageCommand
extends Command
Command to insert a named image.


Constructor Index

 o InsertImageCommand(String, String, DrawingView)
Constructs an insert image command.

Method Index

 o execute()
Executes the command.

Constructors

 o InsertImageCommand
 public InsertImageCommand(String name,
                           String image,
                           DrawingView view)
Constructs an insert image command.

Parameters:
name - the command name
image - the pathname of the image
view - the target view

Methods

 o execute
 public void execute()
Executes the command.

Overrides:
execute in class Command

All Packages  Class Hierarchy  This Package  Previous  Next  Index