Class org.aswing.plaf.winxp.border.ButtonBorder

Implemented Interfaces

Border UIResource

Description

Method Index

createInstance(), getBorderInsets(), paintBorder(), uninstallBorder()

Method Detail

createInstance

static public function createInstance():Border

this make shared instance and construct when use.

paintBorder

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

Description copied from Border

Paints the border on component in a bounds with the graphics. If this if the first time to paint on the specified component, there may need some install operation, for example create MCs on the specified mc if needed.

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