Class org.aswing.plaf.basic.icon.FrameIcon

Implemented Interfaces

Icon UIResource

Description

Method Index

new FrameIcon()
getColor(), getIconHeight(), getIconWidth(), paintIcon(), uninstallIcon()

Constructor Detail

FrameIcon

public function FrameIcon(width:Number)

Parameters

widththe width of the icon square.

Method Detail

getColor

public function getColor():ASColor

getIconWidth

public function getIconWidth():Number

Description copied from Icon

Return the icon's width.

Specified By

getIconWidth() in org.aswing.Icon

getIconHeight

public function getIconHeight():Number

Description copied from Icon

Return the icon's height.

Specified By

getIconHeight() in org.aswing.Icon

paintIcon

public function paintIcon(com:Component, g:Graphics, x:Number, y:Number):Void

Description copied from Icon

Draw the icon at the specified component's specified location with the graphics. If this if the first time to paint on the specified component, there may need some install operation, for example create MC on the specified mc if needed.

Specified By

paintIcon() in org.aswing.Icon

uninstallIcon

public function uninstallIcon(com:Component):Void

Description copied from Icon

Remove things in the icon object related to the component. For example remove the MCs created at the first paint time.

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

Specified By

uninstallIcon() in org.aswing.Icon