1
4
5 import org.aswing.ASColor;
6 import org.aswing.border.Border;
7 import org.aswing.plaf.basic.border.TextBorder;
8 import org.aswing.UIManager;
9
10
13 class org.aswing.plaf.basic.border.TextAreaBorder extends TextBorder {
14
15 private static var instance:Border;
16
19 public static function createInstance():Border{
20 if(instance == null){
21 instance = new TextAreaBorder(
22 UIManager.getColor("TextArea.shadow"),
23 UIManager.getColor("TextArea.darkShadow"),
24 UIManager.getColor("TextArea.light"),
25 UIManager.getColor("TextArea.highlight")
26 );
27 }
28 return instance;
29 }
30
31 public function TextAreaBorder(shadow : ASColor, darkShadow : ASColor, light : ASColor, lighlight : ASColor) {
32 super(shadow, darkShadow, light, lighlight);
33 }
34
35 }
36