class org.aswing.border.EmptyBorder extends DecorateBorder

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

Author: paling

Class Fields

static function createIndent(indent:Int): EmptyBorder

Create an indent with the same top, left, bottom and right margins

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from DecorateBorder

var interior:Border
function getBorderInsets(c:Component, bounds:IntRectangle):Insets
function getBorderInsetsImp(c:Component, bounds:IntRectangle):Insets
function getDisplay(c:Component):DisplayObject
function getDisplayImp():DisplayObject
function getInterior():Border
function setInterior(interior:Border):Void
function updateBorder(c:Component, g:Graphics2D, bounds:IntRectangle):Void
function updateBorderImp(com:Component, g:Graphics2D, bounds:IntRectangle):Void

var bottom:Int

A bottom margin, px

var left:Int

A left margin, px

var right:Int

A right margin, px

var top:Int

A top margin, px

function new(?interior:Border = null, ?margin:Insets = null): Void