interface org.aswing.GroundDecorator extends Decorator

Decorator for background or foreground of a components.

You can either return a display object to be the decorator or just return null and paint
in updateDecorator method use the component g(Graphics).

(Maybe it is not good to paint on the component graphics for foreground decorator since component graphics is not on top of component children)

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from Decorator

function getDisplay(c:Component):DisplayObject

function updateDecorator(c:Component, g:Graphics2D, b:IntRectangle): Void

Updates the decorator.

c

the component which owns the ground decorator.

g

the graphics of the component, you can paint picture onto it.

b

the bounds of the component can be decorated.