BBjGenericChart
Description
In BBj 7.00 and higher, the BBjGenericChart control displays a JFreeChart that has been created by the user.
Implemented Interfaces
DropTarget, Focusable, TabTraversable
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjGenericChart
A BBjGenericChart object is created through the following BBjWindow methods:
Return Value |
Method |
---|---|
BBjGenericChart |
addGenericChart(int ID, number x, number y, number w,number h) |
BBjGenericChart |
addGenericChart(int ID, number x, number y, number w, number h, byte[] flags) |
BBjGenericChart |
addGenericChart(int ID) |
BBjGenericChart |
addGenericChart(int ID, byte[] flags) |
BBjGenericChart |
addGenericChart() |
BBjGenericChart |
addGenericChart(byte[] flags) |
Methods of BBjGenericChart
Return Value |
Method |
---|---|
void |
setClientChart(JFreeChart@ chart) |
Methods of BBjGenericChart implemented for DropTarget
Return Value | Method |
---|---|
int | getDropActions() |
void | setDropActions(int actions) |
BBjVector | getDropTypes() |
void | setDropTypes(BBjVector types) |
Methods of BBjGenericChart implemented for Focusable
Return Value | Method |
---|---|
boolean | isFocusable() |
void | setFocusable(boolean focus) |
Methods of BBjGenericChart implemented for TabTraversable
Return Value | Method |
---|---|
boolean | isTabTraversable() |
void | setTabTraversable(boolean trav) |
Methods of BBjGenericChart inherited from BBjChart
Return Value |
Method |
---|---|
void |
writePNGToServer(string filename) |
void |
writePNGToServer(string filename, boolean writeAlpha, int compression) |
void |
writePNGToServer(string filename, number width, number height, boolean writeAlpha, int compression) |
Methods of BBjGenericChart inherited from BBjControl
Events
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
---|---|---|---|
ON_DROP_TARGET_DROP |
D |
||
ON_GAINED_FOCUS |
f |
||
ON_LOST_FOCUS |
f |
||
ON_MOUSE_ENTER |
E |
||
ON_MOUSE_EXIT |
E |
||
ON_POPUP_REQUEST |
r |
||
ON_RIGHT_MOUSE_DOWN |
R |
Constants inherited from BBjControl
Example
See Also
CALLBACK Verb - Register BBj Subroutine
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.