B4J Library Jfoenix Wrap

Discussion in 'B4J Libraries & Classes' started by Enrique Gonzalez R, May 20, 2017.

  1. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Hi!

    This is my very first attempt to create a wrap for a library (more of a proof of concept), It is based on this project:

    https://github.com/jfoenixadmin/JFoenix
    http://www.jfoenix.com/index.html

    Features:

    JfxCheckBox, it is a custom view (with designer support, no properties yet) that allows to set colors for check and unchecked states, to catch the event use the same as the normal checkbox or the already implemented jfxChecked_change event

    jfxDialog, this one is a class that will show a non blocking msgbox style dialog, you can upload a pane to set its height and width and load a layout within, the API needs a pane that works as an owner of the dialog. To catch the event here, just use eventName_closed event (the one in the form events)
    upload_2017-5-20_23-10-27.png
    if you want jfxDialog to work like msgbox just write:

    Code:
    wait for jfxdialog_closed
    edit V1.01
    in this version we have JFXDatePicker and JFXTimePicker
    Date Picker will return the date ticks like the normal datepicker
    but Time Picker event will return a string representation of the time.

    upload_2017-5-20_23-8-12.png

    edit V1.02

    This version comes with JFXBadge and JFXRippler,

    There is a nuisance with both classes, they remove the original node of the panel and reinsert them as part of the new node, it will conserve the very same spot and anchors tho. This means that for now only already inserted nodes can be badged/ripplyfied

    In the JfoenixTester project, there are some methods that helps with finding if the original node is part of this classes.

    upload_2017-5-22_14-26-33.png

    If you want any other feature implemented or more methods for the currently available, you can ask for it.
     

    Attached Files:

    Last edited: May 22, 2017
    Mashiane, amaxco, iz0ndg and 14 others like this.
  2. alwaysbusy

    alwaysbusy Well-Known Member Licensed User

    :)
     
    Enrique Gonzalez R likes this.
  3. giannimaione

    giannimaione Well-Known Member Licensed User

    ...JfxCheckBox, jfxDialog, .... and soon JFXRippler, JFXCheckBox
     
    Enrique Gonzalez R likes this.
  4. DonManfred

    DonManfred Expert Licensed User

    JFXCheckbox is already there
     
    Enrique Gonzalez R likes this.
  5. jmon

    jmon Well-Known Member Licensed User

    Thanks a lot Enrique! That's amazing!
     
  6. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Thanks Jmon!

    I like so far how it is going, now i respect even more you and the other Library creators.
     
    amn.nma67, jmon and inakigarm like this.
  7. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Rippler is there now on V1.02!
     
    jmon, giannimaione and inakigarm like this.
  8. inakigarm

    inakigarm Well-Known Member Licensed User

    Good job Enrique !
     
  9. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Thank you for support @inakigram!
     
  10. CanguroCode

    CanguroCode Active Member Licensed User

    Hi!, this is still alive? I need the other components (JFXSlider)

    Thanks for you work
     
  11. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Hi!

    thanks to you for taking interest, unfortunately i lost the code due to a my lack of vision when formmating my computer, but i created a JFXSlider Class for your use, it has designer support, properties and values.

    Hope you find it useful.

    If you need something else you can ask.
     

    Attached Files:

  12. CanguroCode

    CanguroCode Active Member Licensed User

    Gracias hermano, que detalle lo de la clase! que mala suerte lo de la perdida de código, te sugiero hagas versiones (Gitlab, es gratis y privado). No quiero ocasionarte trabajo adicional, pensaba ya lo tenias hecho, trataré de hacer la librería (o con la clase que me pasaste de ahi basarme) para los demás componentes si tengo dudas te consulto.

    Excelente trabajo!
     
  13. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

    Si, ya tengo gitlab y estoy aprendiendo (y acostumbrandome) a usar git, pero te hablo de hace poco, uno o dos meses top. En el caso de Jfoenix el problema es que no hay JavaDocs pero en el caso de este Slider es un wrap del slider original de JavaFX.

    Te recomiendo Luyten para que puedas decompilar el jar de JFoenix y ver que metodos publicos tiene
    https://github.com/deathmarine/Luyten
     
  14. CanguroCode

    CanguroCode Active Member Licensed User

    Ok ok, no utilizo luyten (pero lo probaré) uso el ide de intellij ahi mismo permite decompilar. Para que no sufras usando git, checa gitkraken https://www.gitkraken.com/ lo utilizo para produccion y desarrollo dale una oportunidad, gratis, es visual y permite interactuar con gitlab y si encuentras algo mejor pasa el dato ;)

    Saludos hermano
     
    Enrique Gonzalez R likes this.
Loading...