Main Page | Packages | Class Tree | Index | Help

xp.system

class ButtonBorder

Object
  |
  +--xp.system.Border
        |
        +--xp.system.ButtonBorder


class ButtonBorder
extends Border



Method Summary

public
drawBackground ( control ): Void
Draws the component background

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

public
drawFocus ( control, state ): Void
Draws the focus rectangle round the component,buttons ignore this and draw in the normal backgroundState

public static
getDefaultInstance ( )
Gets a reference to the static default instance

Methods inherited from class xp.system.Border

drawBackground, drawBackgroundState, drawBorder, drawFocus, drawShadow, getDefaultInstance, initBorder, sizeSkin



Method Documentation

drawBackground

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

Overrides:

Parameters:
control
The control to draw the background for

drawBackgroundState

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

Overrides:

Parameters:
control
The control to draw the background for

drawFocus

public function drawFocus(control,
 state): Void
Draws the focus rectangle round the component,buttons ignore this and draw in the normal backgroundState

Overrides:

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

getDefaultInstance

public static function getDefaultInstance()
Gets a reference to the static default instance

Overrides:


The documentation was generated from the following file:


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