3.7.7 - Graphics Window Drawer Interface - JdlGraphicsWindowDrawer

John W. Campbell

3.7.7.1 Introduction

An interface for objects which have a drawing method for drawing on a JdlGraphicsWindow object.

Interface and methods:

Class Details
Accessible Fields
Interface Methods

3.7.7.2 Class Details

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

3.7.7.3 Accessible Fields

No fields with public, package or protected access defined.

3.7.7.4 Interface Methods

3.7.7.4.1 Introduction

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

Methods:

Draw on graphics window - jdl_graphics_window_drawer

3.7.7.4.2 Draw on graphics window - jdl_graphics_window_drawer

A method to draw on a JdlGraphicsWindow object.

Method Definition:
public void jdl_graphics_window_drawer(Graphics2D g2D, int id, int num_xpix, int num_ypix, int xo_disp, int yo_disp, int draw_width, int draw_height)
Parameters List:
g2D
The graphics context for the label panel.
id
The identifier used when the drawer object is set.
num_xpix
The number of 'x' pixels in the window (total width).
num_ypix
The number of 'y' pixels in the window (total height).
xo_disp
The 'x' origin of the section currently displayed.
yo_disp
The 'y' origin of the section currently displayed.
draw_width
The width of the section currently displayed.
draw_height
The height of the section currently displayed.

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