Class fvaswing.components.filechooser.icons.FvHomeIcon

Implemented Interfaces

Icon

Description

Default icon used in FvFileChooser component to display 'home' button.

You can find better icon in Fever SVN repository at http://as2fever.googlecode.com/svn/trunk/aswing_extensions/assets/

Method Index

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

Constructor Detail

FvHomeIcon

public function FvHomeIcon()

Constructor.

Method Detail

getIconWidth

public function getIconWidth():Number

Return the icon's width.

getIconHeight

public function getIconHeight():Number

Return the icon's height.

paintIcon

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

Draws 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.

Parameters

comcomponent for which this border is being painted
gthe paint graphics
xthe x corrdinate of the icon(top left of bounds)
ythe y corrdinate of the icon(top left of bounds)

uninstallIcon

public function uninstallIcon(com:Component):Void

Remove things in the icon object related to the component.