Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    19
    Vote Rating
    0
    bartolomiew is on a distinguished road

      0  

    Default SpinnerField

    SpinnerField


    I need a component acting/looking like a JSpinner in java Swing, so I made it


    Here you can find the full eclipse project : http://www.2shared.com/file/10006617...7/Spinner.html
    Real usefull things are :
    - war/css/gxt-spinner.css (must be added to you HTML page like gxt-all.css)
    - war/images/default/form/spinner_down.gif
    - war/images/default/form/spinner_up.gif
    - src/com/wcs/client/SpinnerField.java

    This version is built with GXT 2.1.0 sources, you're free to use this code. Css file and images are home made but based on existing one in GXT.

  2. #2
    Ext User
    Join Date
    Dec 2009
    Posts
    12
    Vote Rating
    0
    varun_tamiri is on a distinguished road

      0  

    Default


    Hi,

    Thanks for your work.
    Is it possible to post the code as an attachment here in the forum.

    Regards,
    Varun Tamiri

  3. #3
    Sencha User
    Join Date
    Apr 2009
    Posts
    19
    Vote Rating
    0
    bartolomiew is on a distinguished road

      0  

    Default


    Shrinked sources attached
    Attached Files

  4. #4
    Ext User
    Join Date
    Dec 2009
    Posts
    12
    Vote Rating
    0
    varun_tamiri is on a distinguished road

      0  

    Default


    Thank you very much,
    But i'm found some errors in the file
    SpinnerField.JAVA

    ensureVisibilityOnSizing =
    true; at line 99

    }
    elseif (ce.getTarget() == input.dom) { at line 175

    el().setStyleName(readOnlyFieldStyle, readOnly); at line 243

    protected Size adjustInputSize() { at line 251

    input =
    new El(DOM.createInputText()); at line 358

    input.addStyleName(
    fieldStyle); at line 362

    el().appendChild(input.dom); at line 372

    if
    ((y = input.getY()) != spinner_up.getY()) { at line 393

    The underline items are the one showing the errors

    Regards,
    Varun Tamiri

  5. #5
    Sencha User
    Join Date
    Apr 2009
    Posts
    19
    Vote Rating
    0
    bartolomiew is on a distinguished road

      0  

    Default


    I'm sorry but I do not understand what you mean by errors.
    It does not compile?
    The spinner is an adaptation of one of the TriggerField GXT 2.1.0, maybe I made some mistakes, feel free to correct them and explain to everyone how.

  6. #6
    Ext User
    Join Date
    Dec 2009
    Posts
    12
    Vote Rating
    0
    varun_tamiri is on a distinguished road

      0  

    Default


    i hav some problem with down arrow of the field
    it goes up some where in the page and it is not working for any fields(integer,double or disabled).
    i'm trying to upload the screenshot but i facing some issue with uploading the image so i'm compressing it and uploading.

    Thanks & Regards,
    Varun Tamiri
    Attached Files

  7. #7

    Default


    Thanks man this is what i was searching for pleased to get it free Cheers

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