class org.aswing.border.SideLineBorder extends DecorateBorder

A border that draw a line at one side of a component. @author paling

Class Fields

static var EAST:Int

The east side constraint (right side of component).

static var NORTH:Int

The north side constraint (top of component).

static var SOUTH:Int

The south side constraint (bottom of component).

static var WEST:Int

The west side constraint (left side of component).

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

function new(?interior:Border = null, ?side:Int = 0, ?color:ASColor = null, ?thickness:Float = 1): Void

SideLineBorder(interior:Border, side:Number, color:ASColor, thickness:Number)
SideLineBorder(interior:Border, side:Number, color:ASColor)
SideLineBorder(interior:Border, side:Number)
SideLineBorder(interior:Border)
SideLineBorder()

interior

interior border. Default is null;

side

the side of the line. Must be one of bottom value:

  • #NORTH
  • #SOUTH
  • #EAST
  • #WEST
.Default is NORTH.

color

the color of the border. Default is ASColor.BLACK

thickness

the thickness of the border. Default is 1

function getColor(): ASColor

function getSide(): Float

function getThickness(): Float

function setColor(color:ASColor): Void

function setSide(side:Float): Void

function setThickness(thickness:Float): Void