class org.aswing.border.SimpleTitledBorder extends DecorateBorder
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, ?offset:Int = 0, ?font:ASFont = null, ?color:ASColor = null): Void
Create a simple titled border. @see #TOP @see #BOTTOM @see #CENTER @see #LEFT @see #RIGHT @see org.aswing.border.TitledBorder
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 |
offset | the addition of title text's x position, default is 0 |
font | the title text's ASFont |
color | the color of the title text |