1 /* 2 Copyright aswing.org, see the LICENCE.txt. 3 */ 4 5 import org.aswing.*; 6 7 /** 8 * 9 * @author iiley 10 */ 11 class org.aswing.plaf.asw.icon.RadioButtonIcon extends org.aswing.plaf.basic.icon.RadioButtonIcon{ 12 13 private static var aswInstance:Icon; 14 15 /** 16 * this make shared instance and construct when use. 17 */ 18 public static function createInstance():Icon{ 19 if(aswInstance == null){ 20 aswInstance = new RadioButtonIcon(); 21 } 22 return aswInstance; 23 } 24 25 private function RadioButtonIcon(){ 26 super(); 27 } 28 } 29