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.
-
InsertImageCommand(String, String, DrawingView)
- Constructs an insert image command.
-
execute()
- Executes the command.
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
execute
public void execute()
- Executes the command.
- Overrides:
- execute in class Command
All Packages Class Hierarchy This Package Previous Next Index