BBjGenericChart

Creation Path



BBjAPI

|

+--BBjSysGui

|

+--BBjWindow

|

+--BBjGenericChart

 

Description

In BBj 7.0 and higher, the BBjGenericChart control displays a JFree chart that has been created by the user.

Implemented Interfaces

DropTarget, Focusable, TabTraversable

Creation

A BBjGenericChart object is created through the following BBjWindow methods:

 

Return Value

Method

BBjGenericChart

addGenericChart(int ID, int x, int y, int width, int height)

BBjGenericChart

addGenericChart(int ID, int x, int y, int width, int height, string 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 p_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()

ClientChartPanel@

getClientChartPanel()

void

writePNGToServer(string filename)

void

writePNGToServer(string filename, boolean writeAlpha, int compression)

void

writePNGToServer(string filename, int width, int 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

Remarks

None.

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.