All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.PasteCommand

java.lang.Object
   |
   +----CH.ifa.draw.util.Command
           |
           +----CH.ifa.draw.standard.FigureTransferCommand
                   |
                   +----CH.ifa.draw.standard.PasteCommand

public class PasteCommand
extends FigureTransferCommand
Command to insert the clipboard into the drawing.

See Also:
Clipboard

Constructor Index

 o PasteCommand(String, DrawingView)
Constructs a paste command.

Method Index

 o execute()
Executes the command.

Constructors

 o PasteCommand
 public PasteCommand(String name,
                     DrawingView view)
Constructs a paste 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