|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.CellRangeFlavor
CellRangeFlavor
is a Transferable
object that passes cell data through a Vector of cells.
Field Summary | |
protected Vector |
cells
|
protected com.klg.jclass.table.JCCellRange |
cr
|
protected DataFlavor |
flavor
|
protected com.klg.jclass.table.JCTable |
table
|
Constructor Summary | |
CellRangeFlavor(com.klg.jclass.table.JCTable table,
com.klg.jclass.table.JCCellRange cr)
Create a new CellRangeFlavor given a range of cells from table and creates a copy of the data in vector format. |
Method Summary | |
Object |
getTransferData(DataFlavor f)
Returns the vector of cells in the given DataFlavor format. |
DataFlavor[] |
getTransferDataFlavors()
Returns the CellRange data flavor. |
boolean |
isDataFlavorSupported(DataFlavor f)
Returns true if the DataFlavor matche the CellRange flavor. |
void |
lostOwnership(Clipboard clipboard,
Transferable contents)
Destroys the copy of cells when notified that this object is no longer the owner of the contents of the clipboard. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.table.JCTable table
protected com.klg.jclass.table.JCCellRange cr
protected DataFlavor flavor
protected Vector cells
Constructor Detail |
public CellRangeFlavor(com.klg.jclass.table.JCTable table, com.klg.jclass.table.JCCellRange cr)
Method Detail |
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors
in interface Transferable
public boolean isDataFlavorSupported(DataFlavor f)
isDataFlavorSupported
in interface Transferable
public Object getTransferData(DataFlavor f) throws UnsupportedFlavorException
getTransferData
in interface Transferable
UnsupportedFlavorException
public void lostOwnership(Clipboard clipboard, Transferable contents)
lostOwnership
in interface ClipboardOwner
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |