ÇëÎÊFlexΪʲôҪ×Ô¶¯Ïú»Ù×Ô¶¨Òå¶ÔÏóѽ,лл
ÇëÎÊFlexΪʲôҪ×ÔÒÑд´úÂëÏú»Ù×Ô¶¨Òå¶ÔÏóѽ,
ʲô¶ÔÏóÐèÒª×Ô¼ºÏú»Ù,ʲô¶ÔÏó²»ÐèÒª×Ô¼ºÏú»Ù,ÇëÏêϸ˵Ã÷ÏÂ,µ¥ÀýģʽÊÇʲôÒâ˼,
Íò·Ö¸Ðл
²¹³äÒ»ÏÂ
Ïú»Ù×Ô¶¨Òå¶ÔÏóѽ
´úÂëÊÇÔõôдµÄ,лл
ºÇºÇ£¬ºÃѧµÄº¢×Ó°¡¡£ÎÒÊÇ°ëµõ×Óˮƽ£¬´óÌå¸øÄã½âÊÍһϡ£
µ¥ÀýģʽµÄÒªµãÓÐÈý¸ö
Ò»ÊÇij¸öÀàÖ»ÄÜÓÐÒ»¸öʵÀý£»
¶þÊÇËü±ØÐë×ÔÐд´½¨Õâ¸öʵÀý£»
ÈýÊÇËü±ØÐë×ÔÐÐÏòÕû¸öϵͳÌṩÕâ¸öʵÀý£»
ÄÃÒ»¸öÏÖ³ÉbaiduÀ´µÄjavaÀý×Ó
Java code:
class Singleton {
private static Singleton s;//¾²Ì¬µÄµ±Ç°ÀàµÄÀàÐÍ
private Singleton(){
System.out.println("A Singleton Model example");
}
public static Singleton getSigleton()
{
if(s==null){
s=new Singleton();//Èç¹ûµ±Ç°Àà¶ÔÏóΪ¿Õ£¬´´½¨¶ÔÏ󣬷ñÔòÖ±½Ó·µ»Ø¶ÔÏó¡£
}
return s;
}
}
ÄÇôµ¥ÀýģʽÄØ£¬¾ÍÊǶÔÏóÖ»ÔÚ¿ªÊ¼Ê¹ÓõÄʱºò´´½¨Ò»´Î£¬ÒÔºóÒªÓã¬Ö±½ÓÄô´½¨ºÃµÄ¶ÔÏó¾Í¿ÉÒÔÁË
µ÷ÓõÄʱºò£¬Singleton.getSigleton()¾Í¿ÉÒÔ»ñµÃ¶ÔÏóÁË¡£
flexΪʲôÐèҪʹÓõ¥ÀýģʽÄØ£¿
1.flex×Ô¼ºµÄ×é¼þÓкܶàbug£¬ÓÈÆäÓкܶàGCµÄbug£¬ÀýÈçTextInput¾ÍÎÞ·¨±»GC
2.flex×ÔÉíµÄGC»úÖƲ»ÍêÉÆ£¬jvmÔÚ´¦ÀíGCµÄʱºòЧÂʺܲЧ¹û²»ºÃ£¬Èç¹û³¤Ê±¼äʹÓã¬ÄÚ´æ»á²»Í£µÄÔö¼Ó¡£ÏµÍ³µÄ¸ºµ£ºÜ´ó¡£
ËùÒÔ£¬ÐèÒªµ¥ÀýģʽÀ´½µµÍÄÚ´æÏûºÄ£¬Í¬Ê±ÓÅ»¯´úÂ룬¾¡Á¿ÉÙʹÓÃäÖȾÆ÷£¬»òÕß²»Ê¹ÓÃäÖȾÆ÷£¬Ê¹ÓÃÍêºó£¬¶ÔäÖȾÆ÷ºÍ¼àÌýʼþ£¬×öÒƳý´¦Àí£¬µÈµÈ¡£
²¹³äһϣ¬Äã
Ïà¹ØÎÊ´ð£º
ÎÒµÄJAVA¶Ë·µ»ØµÄÊÇÒ»¸öLIST,Èç¹ûÓÃÏÂÃæµÄ·½·¨,¿ÉÒÔÊÇÄÜÔÚÒ³Ãæ¼ÓÔØʱ,µÃµ½·þÎñ¶Ë·µ»ØµÄÊý¾ÝµÄ,¼´:
?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx=&qu ......
flexµÄaddEventListener ÀïÃ溯Êý²»ÄÜ´ø²ÎÊý°¡¡£
ÎÒÏÖÔڵŦÄÜÊÇÕâÑù¡£¡£
ÔÚ·þÎñÆ÷¶ËµÃµ½Ò»¸öArrayCollection ,È»ºó±éÀúÕâ¸öÊý×飬£¬È»ºóÔÚ¶¯Ì¬´´½¨button,buttonµÄclick¸ù¾ÝArrayCollection ÀïÃæ¶ÔÏóµÄid,ä¯ÀÀ¶ÔÏ ......
flex ǶÈëµ½jspÖеÄjar°ü£¬ÓÐÈËÓÐÂð£¬Ð»Ð»ÁË
Õâ¸ö²»Óðɣ¬×Ô¼ºÐ´µÄ³ÌÐò£¡
ÐèÒªµÄ
flex2_tag_library_for_jsp.zip
Èç¹ûÄúÓиüºÃµÄ·½·¨£¬ÊÇ·ñ¿ÉÒÔ¸æËßÎÒ
Óà LCDS ¾Í¿ÉÒÔÁË¡£
The Tag Lib for JSP is now ......
´´½¨Á˼¸¸öComponent×é¼þ£¨Ã¿¸ö×é¼þÏÔʾ²»Í¬µÄÄÚÈÝ£©
´´½¨ÁËÒ»¸öViewStack¿Ø¼þ£¨Ò»¸öÒ³¶ÔÓ¦Ò»¸ö×é¼þ£©
ÈçºÎÔÚÒ»¸ö×é¼þÖеã»÷Ò»¸ö°´Å¥ºó£¬Ìøתµ½ÁíÒ»¸öÒ³ÖÐ
лл
Â¥ÉÏÒѾ°ÑÀý×Óд³öÀ´ÁË¡£±ðµÄ²»ËµÁË ......
private var chartData1:ArrayCollection = new ArrayCollection([
{Äê·Ý:2005,ÊÕÈë:23.5},
{Äê·Ý:2006,ÊÕÈë:26.2},
{Äê·Ý:2007,ÊÕÈë:30.1},
{Äê·Ý:2008,ÊÕÈë:29.5}, ......