All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.CopyCommand

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

public class CopyCommand
extends FigureTransferCommand
Copy the selection to the clipboard.

See Also:
Clipboard

Constructor Index

 o CopyCommand(String, DrawingView)
Constructs a copy command.

Method Index

 o execute()
Executes the command.
 o isExecutable()
Tests if the command can be executed.

Constructors

 o CopyCommand
 public CopyCommand(String name,
                    DrawingView view)
Constructs a copy command.

Parameters:
name - the command name
view - the target view

Methods

 o execute
 public void execute()
Executes the command.

Overrides:
execute in class Command
 o isExecutable
 public boolean isExecutable()
Tests if the command can be executed.

Overrides:
isExecutable in class Command

All Packages  Class Hierarchy  This Package  Previous  Next  Index