3.9.3 - Draw Panel Drawer Interface - JdlDrawPanelDrawer

John W. Campbell

3.9.3.1 Introduction

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

Interface and methods:

Class Details
Accessible Fields
Interface Methods

3.9.3.2 Class Details

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

3.9.3.3 Accessible Fields

No fields with public, package or protected access defined.

3.9.3.4 Interface Methods

3.9.3.4.1 Introduction

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

Methods:

Draw on panel - jdl_draw_panel_drawer

3.9.3.4.2 Draw on panel - jdl_draw_panel_drawer

A method to draw on the JdlDrawPanel window.

Method Definition:
public void jdl_draw_panel_drawer(Graphics g, int id, int panel_width, int panel_height, int current_width, int current_height)
Parameters List:
g
The graphics context for the draw panel window.
id
The identifier used when the drawer object is set.
panel_width
The width of the panel as requested.
draw_height
The height of the panel as requested.
current_width
The current width of the draw panel.
current_height
The current height of the draw panel.

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