All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.framework.FigureSelection

java.lang.Object
   |
   +----CH.ifa.draw.framework.FigureSelection

public class FigureSelection
extends Object
FigureSelection enables to transfer the selected figures to a clipboard.

Will soon be converted to the JDK 1.1 Transferable interface.

See Also:
Clipboard

Variable Index

 o TYPE
The type identifier of the selection.

Constructor Index

 o FigureSelection(Vector)
Constructes the Figure selection for the vecotor of figures.

Method Index

 o getData(String)
Gets the data of the selection.
 o getType()
Gets the type of the selection.

Variables

 o TYPE
 public static final String TYPE
The type identifier of the selection.

Constructors

 o FigureSelection
 public FigureSelection(Vector figures)
Constructes the Figure selection for the vecotor of figures.

Methods

 o getType
 public String getType()
Gets the type of the selection.

 o getData
 public Object getData(String type)
Gets the data of the selection. The result is returned as a Vector of Figures.

Returns:
a copy of the figure selection.

All Packages  Class Hierarchy  This Package  Previous  Next  Index