BBjImageManager

Creation

BBjAPI > BBjSysGui > BBjImageManager

Description

In BBj 5.0 and higher, the BBjImageManager object is used to create BBjImage objects.

Creation

The BBjImageManager object is accessed using the following BBjSysGui method:

 

Return Value

Method

BBjImageManager

getImageManager()

Methods of BBjImageManager

Return Value

Method

int

addImageList(int imageWidth, BBjImage image!)

int

getCacheSize()

BBjImage

getDefaultIcon()

int

getImageCount(string filename)

BBjImage

loadImageFromBytes(string binary)

BBjImage

loadImageFromClientJar(string filename)

BBjImage

loadImageFromClientURL(string url)

BBjImage

loadImageFromFile(string filename)

BBjImage

loadImageFromFile(string filename, int index)

BBjImage

loadImageFromImageList(int id, int index)

BBjImage

loadImageFromServerJar(string filename)

BBjImage

loadImageFromServerURL(string url)

BBjImage

loadImageFromURL(string url)

void

setCacheSize(int size)

void

setDefaultIcon(BBjImage image)

Remarks

None.

Example

rem 'Obtain an instance of the BBjImageManager object

rem 'Obtain the instance of the BBjAPI object
let myAPI! = BBjAPI()

rem 'Open the SysGui device
SYSGUI = UNT
OPEN (SYSGUI)"X0"

rem 'Obtain an instance of the BBjSysGui object
let mySysGui! = myAPI!.getSysGui()

rem 'Obtain an instance of the BBjImageManager object
myImageManager! = mySysGui!.getImageManager()

See Also

BBjAPI

BBjSysGui

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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