BBjChart::getClientChartPanel
Description
In BBj 18.00 and higher, this method returns a ClientObject that delegates to the underlying JFreeChart ChartPanel . This ClientObject can be used to perform more advanced operations with JFreeCharts.
Syntax
|
Return Value |
Method |
|---|---|
|
getClientChartPanel() |
Parameters
None.
Return Value
This method returns a ClientObject that delegates to the underlying JFreeChart ChartPanel . This ClientObject can be used to perform more advanced operations with JFreeCharts.
Remarks
Prior to BBj 18.00, this method was only available for BBjGenericChart . The ClientChartPanel interface defines the following methods, which delegate directly to the corresponding methods on the ChartPanel .
| Return Value | Method |
|---|---|
|
void |
createChartPrintJob() |
|
void |
doEditChartProperties() |
|
void |
doSaveAs() throws IOException |
|
Point2D |
getAnchor() |
|
JFreeChart |
getChart() |
|
ChartRenderingInfo |
getChartRenderingInfo() |
|
File |
getDefaultDirectoryForSaveAs() |
|
int |
getDismissDelay() |
|
ChartEntity |
getEntityForPoint(int viewX, int viewY) |
|
boolean |
getFillZoomRectangle() |
|
boolean |
getHorizontalAxisTrace() |
|
int |
getInitialDelay() |
|
int |
getMaximumDrawHeight() |
|
int |
getMaximumDrawWidth() |
|
int |
getMinimumDrawHeight() |
|
int |
getMinimumDrawWidth() |
|
JPopupMenu |
getPopupMenu() |
|
boolean |
getRefreshBuffer() |
|
int |
getReshowDelay() |
|
double |
getScaleX() |
|
double |
getScaleY() |
|
Rectangle2D |
getScreenDataArea() getScreenDataArea(int x, int y) |
|
String |
getToolTipText(MouseEvent e) |
|
boolean |
getVerticalAxisTrace() |
|
boolean |
getZoomAroundAnchor() |
|
Paint |
getZoomFillPaint() |
|
double |
getZoomInFactor() |
|
double |
getZoomOutFactor() |
|
Paint |
getZoomOutlinePaint() |
|
int |
getZoomTriggerDistance() |
|
boolean |
isDomainZoomable() |
|
boolean |
isEnforceFileExtensions() |
|
boolean |
isRangeZoomable() |
|
int |
print(Graphics g, PageFormat pf, int pageIndex) |
|
boolean |
restoreAutoBounds() |
|
boolean |
restoreAutoDomainBounds() |
|
boolean |
restoreAutoRangeBounds() |
|
Rectangle2D |
scale(Rectangle2D rect) |
|
void |
setChart(JFreeChart chart) |
|
void |
setDefaultDirectoryForSaveAs(File file) |
|
void |
setDismissDelay(int delay) |
|
void |
setDisplayToolTips(boolean flag) |
|
void |
setDomainZoomable(boolean flag) |
|
void |
setEnforceFileExtensions(boolean enforce) |
|
void |
setFillZoomRectangle(boolean flag) |
|
void |
setHorizontalAxisTrace(boolean flag) |
|
void |
setInitialDelay(int delay) |
|
void |
setMaximumDrawHeight(int height) |
|
void |
setMaximumDrawWidth(int width) |
|
void |
setMinimumDrawHeight(int height) |
|
void |
setMinimumDrawWidth(int width) |
|
void |
setMouseZoomable(boolean flag) setMouseZoomable(boolean flag, boolean fillRectangle) |
|
void |
setPopupMenu(JPopupMenu menu) |
|
void |
setRangeZoomable(boolean flag) |
|
void |
setRefreshBuffer(boolean flag) |
|
void |
setReshowDelay(int delay) |
|
void |
setVerticalAxisTrace(boolean flag) |
|
void |
setZoomAroundAnchor(boolean zoomAroundAnchor) |
|
void |
setZoomFillPaint(Paint paint) |
|
void |
setZoomInFactor(double factor) |
|
void |
setZoomOutFactor(double factor) |
|
void |
setZoomOutlinePaint(Paint paint) |
|
void |
setZoomTriggerDistance(int distance) |
|
Point |
translateJava2DToScreen(Point2D java2DPoint) |
|
Point2D |
translateScreenToJava2D(Point screenPoint) |
|
void |
zoom(Rectangle2D selection) |
|
void |
zoomInBoth(double x, double y) |
|
void |
zoomInDomain(double x, double y) |
|
void |
zoomInRange(double x, double y) |
|
void |
zoomOutBoth(double x, double y) |
|
void |
zoomOutDomain(double x, double y) |
|
void |
zoomOutRange(double x, double y) |
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.