3.10.3 - Label Drawer Interface - JdlLabelDrawer

John W. Campbell

3.10.3.1 Introduction

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

Interface and methods:

Class Details
Accessible Fields
Interface Methods

3.10.3.2 Class Details

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

3.10.3.3 Accessible Fields

No fields with public, package or protected access defined.

3.10.3.4 Interface Methods

3.10.3.4.1 Introduction

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

Methods:

Draw label - jdl_label_drawer

3.10.3.4.2 Draw label - jdl_label_drawer

A method to draw on a JdlLabel object.

Method Definition:
public void jdl_label_drawer(Graphics g, int id, int xo, int yo, int draw_width, int draw_height, int total_width, int total_height)
Parameters List:
g
The graphics context for the label panel.
id
The identifier used when the drawer object is set.
xo
The 'x' origin of the drawing area (i.e. within the border).
yo
The 'y' origin of the drawing area (i.e. within the border).
draw_width
The width of the drawing area.
draw_height
The height of the drawing area.
total_width
The total width of the panel including the border.
total_height
The total height of the panel including the border.

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