Class org.aswing.plaf.basic.icon.ArrowIcon

Implemented Interfaces

Icon UIResource

Description

Basic Arrow Icon for scrollbar buttons

Method Index

new ArrowIcon()
getIconHeight(), getIconWidth(), paintIcon(), uninstallIcon()

Constructor Detail

ArrowIcon

public function ArrowIcon(arrow:Number, size:Number, background:ASColor, shadow:ASColor, darkShadow:ASColor, highlight:ASColor)

Method Detail

getIconWidth

public function getIconWidth():Number

Return the icon's width.

Specified By

getIconWidth() in org.aswing.Icon

getIconHeight

public function getIconHeight():Number

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

Draw the icon at the specified location.

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