Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    28
    Vote Rating
    0
    donp is on a distinguished road

      0  

    Default Surface.getSprites() removed

    Surface.getSprites() removed


    In GXT 3.0.0, it looks like the Surface.getSprites() method was removed.


    This method, in prior versions like RC, returned a SpriteList object, which had a clear() method():


    Code:
    clear() 
              Clears all items from the composite and removes them their surface.

    This allowed something like this, for removing all Sprites from a drawing/surface:


    Code:
            // clear the dashboard drawing.
            SpriteList<Sprite> sprites = drawing.getSurface().getSprites();
            sprites.clear();

    With the changes in 3.0.0 chart/draw, I see no simple way of doing this. I assume this is a mistake/oversight, because surely we are not expected to iterate over every Sprite in a Surface in order to call Sprite.remove.


    Please advise on how to clear a DrawComponent or Surface of all its Sprites.


    Thanks,
    Don P.

  2. #2
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    This has been fixed and will be in the next release. Also there is now a direct clearSurface method on DrawComponent.

  3. #3
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    GXT 3.0.1 has been released and contains this fix.

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