Packageorg.aswing.plaf
Classpublic class DefaultEmptyDecoraterResource
ImplementsBorder, GroundDecorator, Icon, UIResource

The default empty border to be the component border as default. So it can be replaced by LAF specified.



Public Methods
 MethodDefined by
  
DefaultEmptyDecoraterResource
  
return new Insets(0,0,0,0)
DefaultEmptyDecoraterResource
  
getDisplay(c:Component):DisplayObject
return null
DefaultEmptyDecoraterResource
  
return 0
DefaultEmptyDecoraterResource
  
return 0
DefaultEmptyDecoraterResource
  
do nothing
DefaultEmptyDecoraterResource
  
do nothing
DefaultEmptyDecoraterResource
  
updateIcon(com:Component, g:Graphics2D, x:int, y:int):void
do nothing
DefaultEmptyDecoraterResource
Public Constants
 ConstantDefined by
  DEFAULT_BACKGROUND_COLOR : ASColorUIResource
[static]
DefaultEmptyDecoraterResource
  DEFAULT_FONT : ASFontUIResource
[static]
DefaultEmptyDecoraterResource
  DEFAULT_FOREGROUND_COLOR : ASColorUIResource
[static]
DefaultEmptyDecoraterResource
  INSTANCE : DefaultEmptyDecoraterResource
[static] Shared instance.
DefaultEmptyDecoraterResource
  NULL_COLOR : ASColorUIResource
[static] Used to be a null ui resource color.
DefaultEmptyDecoraterResource
  NULL_FONT : ASFontUIResource
[static] Used to be a null ui resource font.
DefaultEmptyDecoraterResource
Constructor detail
DefaultEmptyDecoraterResource()constructor
public function DefaultEmptyDecoraterResource()
Method detail
getBorderInsets()method
public function getBorderInsets(com:Component, bounds:IntRectangle):Insets

return new Insets(0,0,0,0)

Parameters
com:Component
 
bounds:IntRectangle

Returns
Insets
getDisplay()method 
public function getDisplay(c:Component):DisplayObject

return null

Parameters
c:Component

Returns
DisplayObject
getIconHeight()method 
public function getIconHeight(c:Component):int

return 0

Parameters
c:Component

Returns
int
getIconWidth()method 
public function getIconWidth(c:Component):int

return 0

Parameters
c:Component

Returns
int
updateBorder()method 
public function updateBorder(com:Component, g:Graphics2D, bounds:IntRectangle):void

do nothing

Parameters
com:Component
 
g:Graphics2D
 
bounds:IntRectangle
updateDecorator()method 
public function updateDecorator(com:Component, g:Graphics2D, bounds:IntRectangle):void

do nothing

Parameters
com:Component
 
g:Graphics2D
 
bounds:IntRectangle
updateIcon()method 
public function updateIcon(com:Component, g:Graphics2D, x:int, y:int):void

do nothing

Parameters
com:Component
 
g:Graphics2D
 
x:int
 
y:int
Constant detail
DEFAULT_BACKGROUND_COLORconstant
public static const DEFAULT_BACKGROUND_COLOR:ASColorUIResource
DEFAULT_FONTconstant 
public static const DEFAULT_FONT:ASFontUIResource
DEFAULT_FOREGROUND_COLORconstant 
public static const DEFAULT_FOREGROUND_COLOR:ASColorUIResource
INSTANCEconstant 
public static const INSTANCE:DefaultEmptyDecoraterResource

Shared instance.

NULL_COLORconstant 
public static const NULL_COLOR:ASColorUIResource

Used to be a null ui resource color.

NULL_FONTconstant 
public static const NULL_FONT:ASFontUIResource

Used to be a null ui resource font.