interface org.aswing.Border extends Decorator

Interface describing an object capable of rendering a border around the edges of a component.

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

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from Decorator

function getDisplay(c:Component):DisplayObject

function getBorderInsets(c:Component, b:IntRectangle): Insets

Returns the insets of the border.

c

the component which owns the border.

b

the bounds of the border should be.

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

Updates the border.

c

the component which owns the border.

g

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

b

the bounds of the border should be.