John W. Campbell
An interface for objects which have a drawing method for drawing on a
JdlButton object.
Interface and methods:
Class Details
Accessible Fields
Interface Methods
- Package:
- Jdl.JdlView;
- Class name:
- JdlButtonDrawer
- Class definition:
- public interface JdlButtonDrawer
- Extends:
- Object
- Implements:
- none
- Actions:
- none
No fields with public, package or protected access defined.
This section contains the methods which must be implemented for the interface.
Methods:
Draw button - jdl_button_drawer
A method to draw on a JdlButton object.
- Method Definition:
- public void jdl_button_drawer(Graphics g, int id, boolean button_in, boolean disable, int xo, int yo, int draw_width, int draw_height, int total_width, int total_height)
- Parameters List:
- g
- The graphics context for the drawing window.
- id
- The identifier used when the drawer object is set.
- button_in
- Button is pressed in (true) or is out (false).
- disable
- Button is disabled (true) or in normal mode (false).
- xo
- The 'x' origin of the drawing area (i.e. within the frame).
- yo
- The 'y' origin of the drawing area (i.e. within the frame).
- draw_width
- The width of the drawing area.
- draw_height
- The height of the drawing area.
- total_width
- The total width of the framed canvas.
- total_height
- The total height of the framed canvas.
⇑ Up 3
⇑ Up 2
⇑ Up 1
⇑ Top of this