All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.eou.toolkit.graphics.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 getInsets()
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:
getInsets
 o getInsets
 public abstract Insets getInsets()
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