3.7.8 - Graphics Window Highlight Handler Interface - JdlGraphicsWindowHighlightHandler

John W. Campbell

3.7.8.1 Introduction

An interface for objects which have highlight handler for a graphics window object.

Interface and methods:

Class Details
Accessible Fields
Interface Methods

3.7.8.2 Class Details

Package:
Jdl.JdlView;
Class name:
JdlGraphicsWindowHighlightHandler
Class definition:
public interface JdlGraphicsWindowHighlightHandler
Extends:
Object
Implements:
none
Actions:
none

3.7.8.3 Accessible Fields

No fields with public, package or protected access defined.

3.7.8.4 Interface Methods

3.7.8.4.1 Introduction

This section contains the methods which must be implemented for the interface.

Methods:

Highlight processing - processGraphicsHighlight

3.7.8.4.2 Highlight processing - processGraphicsHighlight

A method to react to the highlighting or un-highlighting of a cell and perform any processing required.

Method Definition:
public void processGraphicsHighlight(int numc, int xmin, int ymin, int xmax, int ymax, Graphics g, boolean highlight)
Parameters List:
numc
The user defined cell number (if >0) or -1 if highlighted overlay character/symbol/cell-image or -2 if highlighted scrollable screen character/symbol/cell-image. If -1 or -2 then identify cell from the row and column offsets.
irow_offset
Cell row offset if numc is -1 or -2 (top cell of character or symbol).
icol_offset
Cell column offset if numc is -1 or -2 (top cell of character or symbol).
highlight
The cell has been highlighted (true) or un-highlighted (false).

⇑ Up 3   ⇑ Up 2   ⇑ Up 1   ⇑ Top of this