1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    47
    Vote Rating
    0
    xalvaro is on a distinguished road

      0  

    Question Windows maximizing on header doubleclick

    Windows maximizing on header doubleclick


    I try to implement what is written in this post :http://extjs.com/forum/showthread.php?t=61528 with GXT 2.0.


    Code:
    	public void onModuleLoad()
    	{
    			final Window win = new Window();
    		win.getHeader().sinkEvents(Event.ONDBLCLICK);
    		win.getHeader().addListener(new EventType(Event.ONDBLCLICK), new Listener<ComponentEvent>()
    		{
    
    			public void handleEvent(ComponentEvent be)
    			{
    				Info.display("test","test");
    				win.maximize();
    			}
    		});
    		win.show();
    
    	}
    But nothing happen .

    What is the correct implementation to do this?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    new EventType(Event.ONDBLCLICK) -> use Events.OnDoubleClick

  3. #3
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    47
    Vote Rating
    0
    xalvaro is on a distinguished road

      0  

    Default


    thanks

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi