org.jfree.chart
public class ChartTransferable extends Object implements Transferable
Since: 1.0.13
Constructor Summary | |
---|---|
ChartTransferable(JFreeChart chart, int width, int height)
Creates a new chart selection.
| |
ChartTransferable(JFreeChart chart, int width, int height, boolean cloneData)
Creates a new chart selection.
|
Method Summary | |
---|---|
Object | getTransferData(DataFlavor flavor)
Returns the content for the requested flavor, if it is supported.
|
DataFlavor[] | getTransferDataFlavors()
Returns the data flavors supported.
|
boolean | isDataFlavorSupported(DataFlavor flavor)
Returns true if the specified flavor is supported.
|
Parameters: chart the chart. width the chart width. height the chart height.
Parameters: chart the chart. width the chart width. height the chart height. cloneData clone the dataset(s)?
Parameters: flavor the requested flavor.
Returns: The content.
Throws: java.awt.datatransfer.UnsupportedFlavorException java.io.IOException
Returns: The data flavors supported.
true
if the specified flavor is supported.
Parameters: flavor the flavor.
Returns: A boolean.