Packageorg.aswing.border
Classpublic class EmptyBorder
InheritanceEmptyBorder Inheritance DecorateBorder

EmptyBorder not draw any graphics, only use to hold a blank space around component.



Public Methods
 MethodDefined by
  
EmptyBorder(interior:Border = null, margin:Insets = null)
EmptyBorder
  
[static]
EmptyBorder
 Inherited
Returns the insets of the border.
Note:subclass should not override this method, should override getBorderInsetsImp.
DecorateBorder
  
EmptyBorder
  
getBottom():int
EmptyBorder
 Inherited
getDisplay(c:Component):DisplayObject
You should override this method to return the display object.
DecorateBorder
 Inherited
getDisplayImp():DisplayObject
Override this method in sub-class to return the display object if needed.
DecorateBorder
 Inherited
Returns current interior border.
DecorateBorder
  
getLeft():int
EmptyBorder
  
getRight():int
EmptyBorder
  
getTop():int
EmptyBorder
  
setBottom(v:int):void
EmptyBorder
 Inherited
setInterior(interior:Border):void
Sets new interior border.
DecorateBorder
  
setLeft(v:int):void
EmptyBorder
  
setRight(v:int):void
EmptyBorder
  
setTop(v:int):void
EmptyBorder
 Inherited
call super.paintBorder paint the border first and then paint the interior border on the interior bounds.
DecorateBorder
  
EmptyBorder
Constructor detail
EmptyBorder()constructor
public function EmptyBorder(interior:Border = null, margin:Insets = null)Parameters
interior:Border (default = null)
 
margin:Insets (default = null)
Method detail
createIndent()method
public static function createIndent(indent:int):EmptyBorderParameters
indent:int

Returns
EmptyBorder
getBorderInsetsImp()method 
public override function getBorderInsetsImp(c:Component, bounds:IntRectangle):InsetsParameters
c:Component
 
bounds:IntRectangle

Returns
Insets
getBottom()method 
public function getBottom():int

Returns
int
getLeft()method 
public function getLeft():int

Returns
int
getRight()method 
public function getRight():int

Returns
int
getTop()method 
public function getTop():int

Returns
int
setBottom()method 
public function setBottom(v:int):voidParameters
v:int
setLeft()method 
public function setLeft(v:int):voidParameters
v:int
setRight()method 
public function setRight(v:int):voidParameters
v:int
setTop()method 
public function setTop(v:int):voidParameters
v:int
updateBorderImp()method 
public override function updateBorderImp(com:Component, g:Graphics2D, bounds:IntRectangle):voidParameters
com:Component
 
g:Graphics2D
 
bounds:IntRectangle