Packageorg.aswing
Classpublic class AssetBackground
ImplementsGroundDecorator

A background with specified asset display object.

The display object will be added to component to be the backgound, and will be set width and height property to fit the size of the component.



Protected Properties
 PropertyDefined by
  asset : DisplayObject
AssetBackground
Public Methods
 MethodDefined by
  
AssetBackground(asset:DisplayObject)
AssetBackground
  
getDisplay(c:Component):DisplayObject
AssetBackground
  
AssetBackground
Property detail
assetproperty
protected var asset:DisplayObject
Constructor detail
AssetBackground()constructor
public function AssetBackground(asset:DisplayObject)Parameters
asset:DisplayObject
Method detail
getDisplay()method
public function getDisplay(c:Component):DisplayObjectParameters
c:Component

Returns
DisplayObject
updateDecorator()method 
public function updateDecorator(com:Component, g:Graphics2D, bounds:IntRectangle):voidParameters
com:Component
 
g:Graphics2D
 
bounds:IntRectangle