|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.ChartTransferable
public class ChartTransferable
A class used to represent a chart on the clipboard.
| 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. |
|
ChartTransferable(JFreeChart chart,
int width,
int height,
int minDrawW,
int minDrawH,
int maxDrawW,
int maxDrawH,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartTransferable(JFreeChart chart,
int width,
int height)
chart - the chart.width - the chart width.height - the chart height.
public ChartTransferable(JFreeChart chart,
int width,
int height,
boolean cloneData)
chart - the chart.width - the chart width.height - the chart height.cloneData - clone the dataset(s)?
public ChartTransferable(JFreeChart chart,
int width,
int height,
int minDrawW,
int minDrawH,
int maxDrawW,
int maxDrawH,
boolean cloneData)
ChartPanel class.
chart - the chart.width - the chart width.height - the chart height.minDrawW - the minimum drawing width.minDrawH - the minimum drawing height.maxDrawW - the maximum drawing width.maxDrawH - the maximum drawing height.cloneData - clone the dataset(s)?| Method Detail |
|---|
public DataFlavor[] getTransferDataFlavors()
getTransferDataFlavors in interface Transferablepublic boolean isDataFlavorSupported(DataFlavor flavor)
true if the specified flavor is supported.
isDataFlavorSupported in interface Transferableflavor - the flavor.
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException,
IOException
getTransferData in interface Transferableflavor - the requested flavor.
UnsupportedFlavorException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||