class org.aswing.border.TitledBorder extends DecorateBorder
TitledBorder, a border with a line rectangle and a title text. @author paling
Class Fields
Instance Fields
Show inherited public instance fields | Hide inherited public instance fields
|
function new(?interior:Border = null, ?title:String = '', ?position:Int = 1, ?align:Int = 0, ?edge:Float = 0, ?round:Float = 0): Void
Create a titled border. @see org.aswing.border.SimpleTitledBorder @see #setColor() @see #setLineColor() @see #setFont() @see #setLineThickness() @see #setBeveled()
title | the title text string. |
position | the position of the title(TOP or BOTTOM), default is TOP |
align | the align of the title(CENTER or LEFT or RIGHT), default is CENTER |
edge | the edge space of title position, defaut is 0. |
round | round rect radius, default is 0 means normal rectangle, not rect. |