Class org.aswing.plaf.winxp.border.TextBorder

Implemented Interfaces

Border UIResource

Description

Method Index

new TextBorder()
getBorderInsets(), paintBorder(), uninstallBorder()

Constructor Detail

TextBorder

public function TextBorder(shadow:ASColor, darkShadow:ASColor, light:ASColor, highlight:ASColor)

Method Detail

paintBorder

public function paintBorder(c:Component, g:Graphics, r:Rectangle):Void

paint the ButtonBorder content.

Specified By

paintBorder() in org.aswing.border.Border

getBorderInsets

public function getBorderInsets(c:Component, bounds:Rectangle):Insets

Description copied from Border

Returns the insets of the border.

Specified By

getBorderInsets() in org.aswing.border.Border

uninstallBorder

public function uninstallBorder(c:Component):Void

Description copied from Border

Removes things in the border object related to the component. For example remove the MCs created at the first paint time if needed.

There is not installIcon method, so you must install icon related things at the first time of paintIcon, for example for example attach a MC if needed.

Specified By

uninstallBorder() in org.aswing.border.Border