JHotDraw 6.0b1

org.jhotdraw.framework
Interface FigureSelection

All Known Implementing Classes:
StandardFigureSelection

public interface FigureSelection

FigureSelection enables to transfer the selected figures to a clipboard.

Will soon be converted to the JDK 1.1 Transferable interface.

See Also:
Clipboard

Method Summary
 java.lang.Object getData(java.lang.String type)
          Gets the data of the selection.
 java.lang.String getType()
          Gets the type of the selection.
 

Method Detail

getType

java.lang.String getType()
Gets the type of the selection.


getData

java.lang.Object getData(java.lang.String type)
Gets the data of the selection. The result is returned as a FigureEnumeration of Figures.

Returns:
a copy of the figure selection.

JHotDraw 6.0b1