org.ujmp.gui.clipboard
Class MatrixSelection

java.lang.Object
  extended by org.ujmp.gui.clipboard.MatrixSelection
All Implemented Interfaces:
ClipboardOwner, Transferable, Serializable

public class MatrixSelection
extends Object
implements Transferable, ClipboardOwner, Serializable

See Also:
Serialized Form

Field Summary
static int IMAGE
           
static int MATRIX
           
static int STRING
           
 
Constructor Summary
MatrixSelection(Matrix matrix)
           
 
Method Summary
 Object getTransferData(DataFlavor flavor)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor flavor)
           
 void lostOwnership(Clipboard clipboard, Transferable contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

public static final int STRING
See Also:
Constant Field Values

IMAGE

public static final int IMAGE
See Also:
Constant Field Values

MATRIX

public static final int MATRIX
See Also:
Constant Field Values
Constructor Detail

MatrixSelection

public MatrixSelection(Matrix matrix)
                throws MatrixException,
                       IOException
Throws:
MatrixException
IOException
Method Detail

getTransferData

public Object getTransferData(DataFlavor flavor)
                       throws UnsupportedFlavorException,
                              IOException
Specified by:
getTransferData in interface Transferable
Throws:
UnsupportedFlavorException
IOException

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor flavor)
Specified by:
isDataFlavorSupported in interface Transferable

lostOwnership

public void lostOwnership(Clipboard clipboard,
                          Transferable contents)
Specified by:
lostOwnership in interface ClipboardOwner


Copyright © 2010. All Rights Reserved.