Packageorg.aswing
Classpublic class Insets
SubclassesInsetsUIResource

An Insets object is a representation of the borders of a container. It specifies the space that a container must leave at each of its edges. The space can be a border, a blank space, or a title.



Public Properties
 PropertyDefined by
  bottom : int = 0
Insets
  left : int = 0
Insets
  right : int = 0
Insets
  top : int = 0
Insets
Public Methods
 MethodDefined by
  
Insets(top:int = 0, left:int = 0, bottom:int = 0, right:int = 0)
Creats an insets.
Insets
  
This insets add specified insets and return itself.
Insets
  
Insets
  
createIdentic(edge:int):Insets
[static] Creates new Insets instance with identic edges.
Insets
  
equals(o:Object):Boolean
Insets
  
Insets
  
Insets
  
Insets
  
Insets
  
Insets
  
Insets
  
toString():String
Insets
Property detail
bottomproperty
public var bottom:int = 0
leftproperty 
public var left:int = 0
rightproperty 
public var right:int = 0
topproperty 
public var top:int = 0
Constructor detail
Insets()constructor
public function Insets(top:int = 0, left:int = 0, bottom:int = 0, right:int = 0)

Creats an insets.

Parameters
top:int (default = 0)
 
left:int (default = 0)
 
bottom:int (default = 0)
 
right:int (default = 0)
Method detail
addInsets()method
public function addInsets(insets:Insets):Insets

This insets add specified insets and return itself.

Parameters
insets:Insets

Returns
Insets
clone()method 
public function clone():Insets

Returns
Insets
createIdentic()method 
public static function createIdentic(edge:int):Insets

Creates new Insets instance with identic edges.

Parameters
edge:int — the edge value for insets.

Returns
Insets — new insets instance.
equals()method 
public function equals(o:Object):BooleanParameters
o:Object

Returns
Boolean
getInsideBounds()method 
public function getInsideBounds(bounds:IntRectangle):IntRectangleParameters
bounds:IntRectangle

Returns
IntRectangle
getInsideSize()method 
public function getInsideSize(size:IntDimension = null):IntDimensionParameters
size:IntDimension (default = null)

Returns
IntDimension
getMarginHeight()method 
public function getMarginHeight():int

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

Returns
int
getOutsideBounds()method 
public function getOutsideBounds(bounds:IntRectangle):IntRectangleParameters
bounds:IntRectangle

Returns
IntRectangle
getOutsideSize()method 
public function getOutsideSize(size:IntDimension = null):IntDimensionParameters
size:IntDimension (default = null)

Returns
IntDimension
toString()method 
public function toString():String

Returns
String