Search in sources :

Example 1 with JFXTimePickerSkin

use of com.jfoenix.skins.JFXTimePickerSkin in project JFoenix by jfoenixadmin.

the class JFXTimePickerBehavior method onAutoHide.

/**************************************************************************
     *                                                                        *
     * Mouse Events handling (when losing focus)                              *
     *                                                                        *
     *************************************************************************/
@Override
public void onAutoHide() {
    JFXTimePicker datePicker = (JFXTimePicker) getControl();
    JFXTimePickerSkin cpSkin = (JFXTimePickerSkin) datePicker.getSkin();
    cpSkin.syncWithAutoUpdate();
    if (!datePicker.isShowing())
        super.onAutoHide();
}
Also used : JFXTimePickerSkin(com.jfoenix.skins.JFXTimePickerSkin) JFXTimePicker(com.jfoenix.controls.JFXTimePicker)

Aggregations

JFXTimePicker (com.jfoenix.controls.JFXTimePicker)1 JFXTimePickerSkin (com.jfoenix.skins.JFXTimePickerSkin)1