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

JFreeChart@

getClientChart()

ChartPanel@

getClientChartPanel()

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

BBjDropTargetDropEvent

Drop Target Drop Event

D

ON_GAINED_FOCUS

BBjGainedFocusEvent

Control Focus Gained/Lost Event

f

ON_LOST_FOCUS

BBjLostFocusEvent

Control Focus Gained/Lost Event

f

ON_MOUSE_ENTER

BBjMouseEnterEvent

Mouse Enter/Exit Event

E

ON_MOUSE_EXIT

BBjMouseExitEvent

Mouse Enter/Exit Event

E

ON_POPUP_REQUEST

BBjPopupRequestEvent

Popup Request Event

r

ON_RIGHT_MOUSE_DOWN

BBjRightMouseDownEvent

Right Mouse Button Down Event

R

Constants inherited from BBjControl

Example

See Also

BBjAPI

BBjSysGui

BBjWindow

CALLBACK Verb - Register BBj Subroutine

Focusable

TabTraversable

ClientObject Tutorial

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.