Main Page | Packages | Class Tree | Index | Help

xp.system

interface IBorder

All Known Implementing Classes:
Border, PanelGrid

interface IBorder

IBorder
Interface implemented by all border/background renderers.

Classes implementing this interface are responsible for drawing the borders and backgrounds of components


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Method Summary

public
drawBackground ( control ): Void
Draws the component background

public
drawBackgroundState ( control ): Void
Draws the component background to reflect its current state

public
drawBorder ( control ): Void
Draws the component border

public
drawFocus ( control, state ): Void
Draws the focus rectangle round the component

public
drawShadow ( control ): Void
Draws the component shadow

public
initBorder ( control ): Void
Initialises the component background and borders



Method Documentation

drawBackground

public function drawBackground(control): Void
Draws the component background

Parameters:
control
The control to draw the background for

drawBackgroundState

public function drawBackgroundState(control): Void
Draws the component background to reflect its current state

Parameters:
control
The control to draw the background for

drawBorder

public function drawBorder(control): Void
Draws the component border

Parameters:
control
The control to draw the border for

drawFocus

public function drawFocus(control,
 state): Void
Draws the focus rectangle round the component

Parameters:
control
The control to draw the focus for
state
True for focused false otherwise

drawShadow

public function drawShadow(control): Void
Draws the component shadow

Parameters:
control
The control to draw the shadow for

initBorder

public function initBorder(control): Void
Initialises the component background and borders

Parameters:
control
The control to initialise

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc