All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.ibm.beans.gauge.Background

public interface Background

This interface is implemented by classes which can render border and background graphics for components.


Variable Index

 o copyright
Ensures that the short copyright string appears in the class file.

Method Index

 o dispose()
Release all resources used by the object.
 o insets()
Return the insets which the border part (if any) will occupy when the background is rendered.
 o render(Graphics, int, int, int, int)
Render the border and background onto the given graphics, within a bounding rectangle.

Variables

 o copyright

 public static final String copyright
Ensures that the short copyright string appears in the class file.

Methods

 o render

 public abstract void render(Graphics g,
                             int x,
                             int y,
                             int width,
                             int height)
Render the border and background onto the given graphics, within a bounding rectangle. Any foreground should then be drawn within the bounding rectangle diminished by the border insets amount.
See Also:
insets

 o insets

 public abstract Insets insets()
Return the insets which the border part (if any) will occupy when the background is rendered.

 o dispose

 public abstract void dispose()
Release all resources used by the object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.